Diffstat (limited to 'noncore/apps/opie-console/logger.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/logger.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/logger.h b/noncore/apps/opie-console/logger.h new file mode 100644 index 0000000..cdc9f68 --- a/dev/null +++ b/noncore/apps/opie-console/logger.h | |||
@@ -0,0 +1,19 @@ | |||
1 | #ifndef CONSOLE_LOGGER_H | ||
2 | #define CONSOLE_LOGGER_H | ||
3 | |||
4 | #include <qstring.h> | ||
5 | #include <qfile.h> | ||
6 | |||
7 | class Logger { | ||
8 | |||
9 | public: | ||
10 | Logger(); | ||
11 | Logger(const QString fileName); | ||
12 | void append(QByteArray ar); | ||
13 | ~Logger(); | ||
14 | |||
15 | private: | ||
16 | QFile m_file; | ||
17 | }; | ||
18 | |||
19 | #endif \ No newline at end of file | ||