Changeset 5905 in ntrip
- Timestamp:
- Aug 9, 2014, 11:45:37 AM (8 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bnccore.cpp
r5903 r5905 872 872 // 873 873 //////////////////////////////////////////////////////////////////////////// 874 void t_bncCore::startPPP( ) {875 _pppMain->start( );874 void t_bncCore::startPPP(bool ownThread) { 875 _pppMain->start(ownThread); 876 876 } 877 877 -
trunk/BNC/src/bnccore.h
r5903 r5905 71 71 void setMainWindow(QWidget* mainWindow){_mainWindow = mainWindow;} 72 72 bool GUIenabled() const {return _GUIenabled;} 73 void startPPP( );73 void startPPP(bool ownThread); 74 74 void stopPPP(); 75 75 -
trunk/BNC/src/bncmain.cpp
r5900 r5905 189 189 BNC_CORE->slotMessage("========== Start BNC v" BNCVERSION " =========", true); 190 190 191 // PPP Client(s) (in separate threads)192 // -----------------------------------193 BNC_CORE->startPPP();194 195 191 // Normal case - data from Internet 196 192 // -------------------------------- 197 193 if ( rawFileName.isEmpty() ) { 198 194 BNC_CORE->setMode(t_bncCore::nonInteractive); 195 BNC_CORE->startPPP(true); 196 199 197 caster->readMountPoints(); 200 198 if (caster->numStations() == 0) { … … 207 205 else { 208 206 BNC_CORE->setMode(t_bncCore::batchPostProcessing); 209 bncRawFile* rawFile = new bncRawFile(rawFileName, "", 210 bncRawFile::input); 207 BNC_CORE->startPPP(false); 208 209 bncRawFile* rawFile = new bncRawFile(rawFileName, "", bncRawFile::input); 211 210 bncGetThread* getThread = new bncGetThread(rawFile); 212 211 caster->addGetThread(getThread, true); -
trunk/BNC/src/bncwindow.cpp
r5902 r5905 1650 1650 startRealTime(); 1651 1651 } 1652 BNC_CORE->startPPP( );1652 BNC_CORE->startPPP(true); 1653 1653 } 1654 1654
Note:
See TracChangeset
for help on using the changeset viewer.