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