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