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/emulation_handler.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/emulation_handler.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/emulation_handler.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/emulation_handler.h b/noncore/apps/opie-console/emulation_handler.h index 1338525..1092c82 100644 --- a/noncore/apps/opie-console/emulation_handler.h +++ b/noncore/apps/opie-console/emulation_handler.h | |||
@@ -28,7 +28,11 @@ class QWidget; | |||
28 | class QPushButton; | 28 | class QPushButton; |
29 | class TEWidget; | 29 | class TEWidget; |
30 | class QFile; | ||
30 | class TEmulation; | 31 | class TEmulation; |
31 | class QFont; | 32 | class QFont; |
33 | class QTextStream; | ||
32 | class Script; | 34 | class Script; |
35 | class Logger; | ||
36 | |||
33 | class EmulationHandler : public QObject { | 37 | class EmulationHandler : public QObject { |
34 | Q_OBJECT | 38 | Q_OBJECT |
@@ -56,7 +60,14 @@ public: | |||
56 | void startRecording(); | 60 | void startRecording(); |
57 | 61 | ||
62 | void startLogging(const QString); | ||
63 | |||
58 | /* Return whether we are currently recording a script */ | 64 | /* Return whether we are currently recording a script */ |
59 | bool isRecording(); | 65 | bool isRecording(); |
60 | 66 | ||
67 | /* Return whether we are currently recording a log */ | ||
68 | bool isLogging(); | ||
69 | |||
70 | QString logFileName(); | ||
71 | |||
61 | /* Return the current script (or NULL) */ | 72 | /* Return the current script (or NULL) */ |
62 | Script *script(); | 73 | Script *script(); |
@@ -65,4 +76,7 @@ public: | |||
65 | void clearScript(); | 76 | void clearScript(); |
66 | 77 | ||
78 | /* Stop logging and remove the current log from memory */ | ||
79 | void clearLog(); | ||
80 | |||
67 | /* Run a script by forwarding its keys to the EmulationLayer */ | 81 | /* Run a script by forwarding its keys to the EmulationLayer */ |
68 | void runScript(const Script *); | 82 | void runScript(const Script *); |
@@ -91,4 +105,6 @@ private: | |||
91 | TEmulation* m_teEmu; | 105 | TEmulation* m_teEmu; |
92 | Script * m_script; | 106 | Script * m_script; |
107 | Logger *m_log; | ||
108 | QString m_logFileName; | ||
93 | }; | 109 | }; |
94 | 110 | ||