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