source: ntrip/trunk/BNC/src/PPP/pppThread.h@ 5929

Last change on this file since 5929 was 5927, checked in by mervart, 12 years ago
File size: 675 bytes
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
13namespace BNC_PPP {
14
15class t_pppThread : public QThread {
16 Q_OBJECT
17 public:
18 t_pppThread(bool ownThread, 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 void pppFinished();
26
27 private slots:
28 void slotPPPfinished();
29
30 private:
31 bool _ownThread;
32 const t_pppOptions* _opt;
33 t_pppRun* _pppRun;
34};
35
36}
37
38#endif
Note: See TracBrowser for help on using the repository browser.