1 /****************************************************************************** 2 * 3 * hebrewmcim.h - Implementation of HebrewMCIM 4 * 5 * $Id: hebrewmcim.h 2833 2013-06-29 06:40:28Z chrislit $ 6 * 7 * Copyright 2001-2013 CrossWire Bible Society (http://www.crosswire.org) 8 * CrossWire Bible Society 9 * P. O. Box 2528 10 * Tempe, AZ 85280-2528 11 * 12 * This program is free software; you can redistribute it and/or modify it 13 * under the terms of the GNU General Public License as published by the 14 * Free Software Foundation version 2. 15 * 16 * This program is distributed in the hope that it will be useful, but 17 * WITHOUT ANY WARRANTY; without even the implied warranty of 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 * General Public License for more details. 20 * 21 */ 22 23 #ifndef HEBREWMCIM_H 24 #define HEBREWMCIM_H 25 26 /** 27 * Title: Keyboard mapping for Michigan-Claremont Hebrew input 28 * Description: 29 * Copyright: Copyright (c) 2001 CrossWire Bible Society under the terms of the GNU GPL 30 * Company: 31 * @author Troy A. Griffitts 32 * @version 1.0 33 */ 34 35 #include <swinputmeth.h> 36 #include <map> 37 #include <defs.h> 38 SWORD_NAMESPACE_START 39 40 41 class SWDLLEXPORT HebrewMCIM : public SWInputMethod { 42 43 void init(); 44 int subst[255]; 45 map<int, int> subst2[12]; 46 map<int, int*> multiChars; 47 48 public: 49 HebrewMCIM(); 50 int *translate(char in); 51 }; 52 53 SWORD_NAMESPACE_END 54 #endif 55