Rev | Line | |
---|
[82] | 1 |
|
---|
| 2 | #ifndef BNCAPP_H
|
---|
| 3 | #define BNCAPP_H
|
---|
| 4 |
|
---|
| 5 | #include <QApplication>
|
---|
[109] | 6 | #include <QFile>
|
---|
| 7 | #include <QTextStream>
|
---|
[82] | 8 |
|
---|
| 9 | class bncApp : public QApplication {
|
---|
| 10 | Q_OBJECT
|
---|
| 11 | public:
|
---|
| 12 | bncApp(int argc, char* argv[], bool GUIenabled);
|
---|
| 13 | virtual ~bncApp();
|
---|
[157] | 14 | QString bncVersion() const {return _bncVersion;}
|
---|
[82] | 15 | public slots:
|
---|
| 16 | void slotMessage(const QByteArray msg);
|
---|
[109] | 17 | private:
|
---|
| 18 | QFile* _logFile;
|
---|
| 19 | QTextStream* _logStream;
|
---|
[151] | 20 | int _logFileFlag;
|
---|
[152] | 21 | QString _bncVersion;
|
---|
[82] | 22 | };
|
---|
| 23 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.