| 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 {
|
|---|
| 11 | public:
|
|---|
| 12 | t_pppMain();
|
|---|
| 13 | ~t_pppMain();
|
|---|
| 14 | void start();
|
|---|
| 15 | void stop();
|
|---|
| 16 |
|
|---|
| 17 | private:
|
|---|
| 18 | void readOptions();
|
|---|
| 19 |
|
|---|
| 20 | QList<t_pppOptions*> _options;
|
|---|
| 21 | QList<t_pppThread*> _pppThreads;
|
|---|
| 22 | QString _logFile;
|
|---|
| 23 | QString _nmeaFile;
|
|---|
| 24 | int _nmeaPort;
|
|---|
| 25 | bool _running;
|
|---|
| 26 | bool _realTime;
|
|---|
| 27 | };
|
|---|
| 28 |
|
|---|
| 29 | }; // namespace BNC_PPP
|
|---|
| 30 |
|
|---|
| 31 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.