From 18ba3be9ca69c42476e310649e3068d2d5f8a03b Mon Sep 17 00:00:00 2001 From: wazlaf Date: Sun, 20 Oct 2002 14:53:08 +0000 Subject: scripting fixed (moved from emulation_layer to emulation_handler). Scripts now use QByteArray instead of QString --- (limited to 'noncore/apps/opie-console/emulation_layer.h') diff --git a/noncore/apps/opie-console/emulation_layer.h b/noncore/apps/opie-console/emulation_layer.h index 928ad04..73e5bf6 100644 --- a/noncore/apps/opie-console/emulation_layer.h +++ b/noncore/apps/opie-console/emulation_layer.h @@ -32,7 +32,6 @@ #include #include #include "keytrans.h" -#include "script.h" class EmulationLayer : public QObject { Q_OBJECT @@ -105,22 +104,6 @@ public: void setKeytrans(int no); void setKeytrans(const char * no); - /* Scripts */ - - /* Create a new script and record all typed characters */ - void startRecording(); - - /* Return whether we are currently recording a script */ - bool isRecording(); - - /* Return the current script (or NULL) */ - Script *script(); - - /* Stop recording and remove the current script from memory */ - void clearScript(); - - /* Run a script by forwarding its keys to the EmulationLayer */ - void runScript(const Script *); protected: WidgetLayer* gui; @@ -156,7 +139,6 @@ private: int bulk_nlcnt; // bulk newline counter char* SelectedText; int bulk_incnt; // bulk counter - Script *m_script; }; -- cgit v0.9.0.2