author | harlekin <harlekin> | 2004-10-08 20:03:40 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2004-10-08 20:03:40 (UTC) |
commit | 4e884ee63f16d1367ff7b854dbe5b50a6871c008 (patch) (unidiff) | |
tree | fb9d9d13e9329e6ee9048bfc0e857d3918f4ecca /noncore/apps/opie-console/logger.h | |
parent | 51e49f0bd035545b983c799f7089de6b0ff2547e (diff) | |
download | opie-4e884ee63f16d1367ff7b854dbe5b50a6871c008.zip opie-4e884ee63f16d1367ff7b854dbe5b50a6871c008.tar.gz opie-4e884ee63f16d1367ff7b854dbe5b50a6871c008.tar.bz2 |
added a 10east define for some changed builds for them, also added a logging mode, also some changes to the "fix broken distros" part, snapshot
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 | ||