source:
ntrip/trunk/BNC/src/PPP/pppThread.h@
5931
Last change on this file since 5931 was 5930, checked in by , 11 years ago | |
---|---|
File size: 610 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: |
[5905] | 18 | t_pppThread(bool ownThread, 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: |
[5905] | 27 | bool _ownThread; |
[5810] | 28 | const t_pppOptions* _opt; |
[5883] | 29 | t_pppRun* _pppRun; |
[5731] | 30 | }; |
31 | ||
[5719] | 32 | } |
33 | ||
[4757] | 34 | #endif |
Note:
See TracBrowser
for help on using the repository browser.