Changeset 5456 in ntrip


Ignore:
Timestamp:
Sep 15, 2013, 10:03:43 AM (11 years ago)
Author:
mervart
Message:
 
Location:
trunk/GnssCenter/monitor
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/GnssCenter/monitor/const.h

    r5450 r5456  
    33
    44namespace GnssCenter {
     5
     6static const char pluginName[] = "RTNet Monitor";
    57
    68class t_CST {
  • trunk/GnssCenter/monitor/dlgconf.cpp

    r5455 r5456  
    1818#include "dlgconf.h"
    1919#include "settings.h"
     20#include "const.h"
    2021
    2122using namespace std;
     
    2526/////////////////////////////////////////////////////////////////////////////
    2627t_dlgConf::t_dlgConf(QWidget* parent) : QDialog(parent) {
     28
     29  t_settings settings(pluginName);
     30  settings.setValue("host", "rtnet.rtcm-ntrip.org");
     31  settings.setValue("port", 7777);
     32  settings.sync();
     33
    2734}
    2835
  • trunk/GnssCenter/monitor/dlgconf.h

    r5455 r5456  
    33
    44#include <QtGui>
     5#include "const.h"
    56
    67namespace GnssCenter {
  • trunk/GnssCenter/monitor/monitor.cpp

    r5455 r5456  
    7272  // -------------
    7373  t_settings settings(pluginName);
    74   settings.setValue("host", "rtnet.rtcm-ntrip.org");
    75   settings.setValue("port", 7777);
    76   settings.sync();
    7774
    7875  // Thrift Client;
  • trunk/GnssCenter/monitor/monitor.h

    r5455 r5456  
    55#include <QWhatsThis>
    66#include "plugininterface.h"
     7#include "const.h"
    78
    89namespace GnssCenter {
     
    1314
    1415namespace GnssCenter {
    15 
    16 const static QString pluginName = "RTNet Monitor";
    1716
    1817class t_monitor : public QMainWindow {
Note: See TracChangeset for help on using the changeset viewer.