| Line | |
|---|
| 1 | #ifndef PPPMAIN_H
|
|---|
| 2 | #define PPPMAIN_H
|
|---|
| 3 |
|
|---|
| 4 | #include <QtCore>
|
|---|
| 5 | #include "pppOptions.h"
|
|---|
| 6 | #include "pppThread.h"
|
|---|
| 7 |
|
|---|
| 8 | namespace BNC_PPP {
|
|---|
| 9 |
|
|---|
| 10 | class t_pppMain : public QObject {
|
|---|
| 11 | public:
|
|---|
| 12 | t_pppMain();
|
|---|
| 13 | ~t_pppMain();
|
|---|
| 14 | void start();
|
|---|
| 15 | public slots:
|
|---|
| 16 | void slotStop();
|
|---|
| 17 |
|
|---|
| 18 | private:
|
|---|
| 19 | void readOptions();
|
|---|
| 20 |
|
|---|
| 21 | QList<t_pppOptions*> _options;
|
|---|
| 22 | QList<t_pppThread*> _pppThreads;
|
|---|
| 23 | QString _logFile;
|
|---|
| 24 | QString _nmeaFile;
|
|---|
| 25 | int _nmeaPort;
|
|---|
| 26 | bool _running;
|
|---|
| 27 | };
|
|---|
| 28 |
|
|---|
| 29 | }; // namespace BNC_PPP
|
|---|
| 30 |
|
|---|
| 31 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.