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