Changeset 5719 in ntrip for trunk/BNC/src/PPP/pppMain.cpp
- Timestamp:
- Jul 31, 2014, 1:29:23 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppMain.cpp
r5717 r5719 56 56 ////////////////////////////////////////////////////////////////////////////// 57 57 t_pppMain::~t_pppMain() { 58 stop(); 58 59 } 59 60 … … 61 62 ////////////////////////////////////////////////////////////////////////////// 62 63 void t_pppMain::start() { 63 cout << "t_pppMain::start" << endl; 64 if (_running) { 65 return; 66 } 67 64 68 readOptions(); 69 70 QListIterator<QSharedPointer<t_options> > it(_options); 71 while (it.hasNext()) { 72 QSharedPointer<t_options> opt = it.next(); 73 t_pppThread* pppThread = new t_pppThread(opt); 74 _running = true; 75 } 65 76 } 66 77 … … 68 79 ////////////////////////////////////////////////////////////////////////////// 69 80 void t_pppMain::stop() { 70 cout << "t_pppMain::stop" << endl; 81 if (!_running) { 82 return; 83 } 84 _running = false; 71 85 } 72 86
Note:
See TracChangeset
for help on using the changeset viewer.