Changeset 5810 in ntrip for trunk/BNC/src/PPP/pppMain.cpp
- Timestamp:
- Aug 6, 2014, 11:34:36 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppMain.cpp
r5795 r5810 70 70 readOptions(); 71 71 72 QListIterator<t_ options*> iOpt(_options);72 QListIterator<t_pppOptions*> iOpt(_options); 73 73 while (iOpt.hasNext()) { 74 const t_ options* opt = iOpt.next();75 t_ppp Thread* pppThread = new t_pppThread(opt);76 ppp Thread->start();77 _ppp Threads << pppThread;74 const t_pppOptions* opt = iOpt.next(); 75 t_pppInclude.hread* pppInclude.hread = new t_pppInclude.hread(opt); 76 pppInclude.hread->start(); 77 _pppInclude.hreads << pppInclude.hread; 78 78 _running = true; 79 79 } … … 92 92 } 93 93 94 QListIterator<t_ppp Thread*> it(_pppThreads);94 QListIterator<t_pppInclude.hread*> it(_pppInclude.hreads); 95 95 while (it.hasNext()) { 96 t_ppp Thread* pppThread = it.next();97 ppp Thread->exit();98 } 99 _ppp Threads.clear();100 101 QListIterator<t_ options*> iOpt(_options);96 t_pppInclude.hread* pppInclude.hread = it.next(); 97 pppInclude.hread->exit(); 98 } 99 _pppInclude.hreads.clear(); 100 101 QListIterator<t_pppOptions*> iOpt(_options); 102 102 while (iOpt.hasNext()) { 103 103 delete iOpt.next(); … … 112 112 void t_pppMain::readOptions() { 113 113 114 QListIterator<t_ options*> iOpt(_options);114 QListIterator<t_pppOptions*> iOpt(_options); 115 115 while (iOpt.hasNext()) { 116 116 delete iOpt.next(); … … 143 143 } 144 144 145 t_ options* opt = new t_options();145 t_pppOptions* opt = new t_pppOptions(); 146 146 147 147 opt->_realTime = realTime;
Note:
See TracChangeset
for help on using the changeset viewer.