Line | |
---|
1 | #ifndef PPPTHREAD_H
|
---|
2 | #define PPPTHREAD_H
|
---|
3 |
|
---|
4 | #include <deque>
|
---|
5 | #include <vector>
|
---|
6 | #include <QtCore>
|
---|
7 |
|
---|
8 | #include "GPSDecoder.h"
|
---|
9 | #include "pppOptions.h"
|
---|
10 | #include "pppClient.h"
|
---|
11 | #include "pppRun.h"
|
---|
12 |
|
---|
13 | namespace BNC_PPP {
|
---|
14 |
|
---|
15 | class t_pppThread : public QThread {
|
---|
16 | Q_OBJECT
|
---|
17 | public:
|
---|
18 | t_pppThread(const t_pppOptions* opt);
|
---|
19 | ~t_pppThread();
|
---|
20 | virtual void run();
|
---|
21 | static void msleep(unsigned long msecs){QThread::msleep(msecs);}
|
---|
22 |
|
---|
23 | signals:
|
---|
24 | void newMessage(QByteArray msg, bool showOnScreen);
|
---|
25 |
|
---|
26 | private:
|
---|
27 | const t_pppOptions* _opt;
|
---|
28 | t_pppRun* _pppRun;
|
---|
29 | };
|
---|
30 |
|
---|
31 | }
|
---|
32 |
|
---|
33 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.