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