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 @@ -29,5 +29,9 @@ class QPushButton; class TEWidget; +class QFile; class TEmulation; class QFont; +class QTextStream; class Script; +class Logger; + class EmulationHandler : public QObject { @@ -57,2 +61,4 @@ public: + void startLogging(const QString); + /* Return whether we are currently recording a script */ @@ -60,2 +66,7 @@ public: + /* Return whether we are currently recording a log */ + bool isLogging(); + + QString logFileName(); + /* Return the current script (or NULL) */ @@ -66,2 +77,5 @@ public: + /* Stop logging and remove the current log from memory */ + void clearLog(); + /* Run a script by forwarding its keys to the EmulationLayer */ @@ -92,2 +106,4 @@ private: Script * m_script; + Logger *m_log; + QString m_logFileName; }; |