source:
ntrip/trunk/BNC/src/PPP/pppThread.h@
6014
| Last change on this file since 6014 was 5946, checked in by , 11 years ago | |
|---|---|
| File size: 560 bytes | |
| Rev | Line | |
|---|---|---|
| [5680] | 1 | #ifndef PPPTHREAD_H |
| 2 | #define PPPTHREAD_H | |
| [4757] | 3 | |
| [5791] | 4 | #include <deque> |
| [4757] | 5 | #include <vector> |
| [5719] | 6 | #include <QtCore> |
| [4757] | 7 | |
| [5738] | 8 | #include "GPSDecoder.h" |
| [5810] | 9 | #include "pppOptions.h" |
| [5742] | 10 | #include "pppClient.h" |
| [5883] | 11 | #include "pppRun.h" |
| [4757] | 12 | |
| [5814] | 13 | namespace BNC_PPP { |
| [5719] | 14 | |
| [5813] | 15 | class t_pppThread : public QThread { |
| [5766] | 16 | Q_OBJECT |
| [5731] | 17 | public: |
| [5946] | 18 | t_pppThread(const t_pppOptions* opt); |
| [5813] | 19 | ~t_pppThread(); |
| [5731] | 20 | virtual void run(); |
| [5891] | 21 | static void msleep(unsigned long msecs){QThread::msleep(msecs);} |
| [5731] | 22 | |
| [5766] | 23 | signals: |
| 24 | void newMessage(QByteArray msg, bool showOnScreen); | |
| 25 | ||
| [5731] | 26 | private: |
| [5810] | 27 | const t_pppOptions* _opt; |
| [5883] | 28 | t_pppRun* _pppRun; |
| [5731] | 29 | }; |
| 30 | ||
| [5719] | 31 | } |
| 32 | ||
| [4757] | 33 | #endif |
Note:
See TracBrowser
for help on using the repository browser.
