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