aboutsummaryrefslogtreecommitdiffstats
path: root/include/hebrewmcim.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hebrewmcim.h')
-rw-r--r--include/hebrewmcim.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/include/hebrewmcim.h b/include/hebrewmcim.h
new file mode 100644
index 0000000..c601751
--- /dev/null
+++ b/include/hebrewmcim.h
@@ -0,0 +1,29 @@
+#ifndef HEBREWMCIM_H
+#define HEBREWMCIM_H
+
+/**
+ * Title: Keyboard mapping for Michigan-Claremont Hebrew input
+ * Description:
+ * Copyright: Copyright (c) 2001 CrossWire Bible Society under the terms of the GNU GPL
+ * Company:
+ * @author Troy A. Griffitts
+ * @version 1.0
+ */
+
+#include <swinputmeth.h>
+#include <map>
+using namespace std;
+
+class HebrewMCIM : public SWInputMethod {
+
+ void init();
+ int subst[255];
+ map<int, int> subst2[12];
+ map<int, int*> multiChars;
+
+public:
+ HebrewMCIM();
+ int *translate(char in);
+};
+
+#endif