Changeset 3253 in ntrip


Ignore:
Timestamp:
Apr 3, 2011, 10:57:34 AM (14 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/upload/bncephuploadcaster.cpp

    r3249 r3253  
    1717#include <math.h>
    1818#include "bncephuploadcaster.h"
     19#include "bncsettings.h"
    1920
    2021using namespace std;
     
    2324////////////////////////////////////////////////////////////////////////////
    2425bncEphUploadCaster::bncEphUploadCaster() {
    25   QString mountpoint;
    26   QString outHost;
    27   int     outPort;
    28   QString password;
     26  bncSettings settings;
     27
     28  QString mountpoint = settings.value("uploadEphMountpoint").toString();
     29  QString outHost    = settings.value("uploadEphHost").toString();
     30  int     outPort    = settings.value("uploadEphPort").toInt();
     31  QString password   = settings.value("uploadEphPassword").toString();
     32
    2933  _ephUploadCaster = new bncUploadCaster(mountpoint, outHost, outPort,
    3034                                         password, -1);
     35  _ephUploadCaster->start();
    3136}
    3237
Note: See TracChangeset for help on using the changeset viewer.