#ifndef PPPTHREAD_H #define PPPTHREAD_H #include #include #include #include "GPSDecoder.h" #include "pppOptions.h" #include "pppClient.h" #include "pppRun.h" namespace BNC_PPP { class t_pppThread : public QThread { Q_OBJECT public: t_pppThread(bool ownThread, const t_pppOptions* opt); ~t_pppThread(); virtual void run(); static void msleep(unsigned long msecs){QThread::msleep(msecs);} signals: void newMessage(QByteArray msg, bool showOnScreen); private: bool _ownThread; const t_pppOptions* _opt; t_pppRun* _pppRun; }; } #endif