aboutsummaryrefslogtreecommitdiffstats
path: root/include/swinputmeth.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/swinputmeth.h')
-rw-r--r--include/swinputmeth.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/include/swinputmeth.h b/include/swinputmeth.h
new file mode 100644
index 0000000..05eed88
--- /dev/null
+++ b/include/swinputmeth.h
@@ -0,0 +1,30 @@
+/**
+ * Title:
+ * Description:
+ * Copyright: Copyright (c) 2001 CrossWire Bible Society under the terms of the GNU GPL
+ * Company:
+ * @author Troy A. Griffitts
+ * @version 1.0
+ */
+
+#ifndef SWINPUTMETHOD_H
+#define SWINPUTMETHOD_H
+
+class SWInputMethod {
+
+private:
+ int state;
+
+protected:
+ virtual void setState(int state);
+
+public:
+ SWInputMethod();
+ virtual ~SWInputMethod() {}
+
+ virtual int *translate(char in) = 0;
+ virtual int getState();
+ virtual void clearState();
+};
+
+#endif