Line | |
---|
1 | #ifndef GnssCenter_APP_H
|
---|
2 | #define GnssCenter_APP_H
|
---|
3 |
|
---|
4 | #include <QtGui>
|
---|
5 |
|
---|
6 | namespace GnssCenter {
|
---|
7 |
|
---|
8 | class t_app : public QApplication {
|
---|
9 | Q_OBJECT
|
---|
10 |
|
---|
11 | friend class t_settings;
|
---|
12 |
|
---|
13 | public:
|
---|
14 | t_app(int& argc, char* argv[], bool GUIenabled);
|
---|
15 | virtual ~t_app();
|
---|
16 |
|
---|
17 | void setConfFileName(const QString& confFileName);
|
---|
18 | const QString& confFileName() const {return _confFileName;}
|
---|
19 |
|
---|
20 | public slots:
|
---|
21 | void slotMessage(QByteArray msg);
|
---|
22 |
|
---|
23 | private:
|
---|
24 | QString _confFileName;
|
---|
25 | QSettings::SettingsMap _settings;
|
---|
26 | };
|
---|
27 |
|
---|
28 | } // namespace GnssCenter
|
---|
29 |
|
---|
30 | #endif
|
---|
31 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.