Tomotaka SUWA
t-suw****@users*****
2007年 8月 17日 (金) 22:22:36 JST
Index: AquaSKK/SKKChar.h diff -u /dev/null AquaSKK/SKKChar.h:1.1.2.2 --- /dev/null Fri Aug 17 22:22:36 2007 +++ AquaSKK/SKKChar.h Fri Aug 17 22:22:36 2007 @@ -0,0 +1,32 @@ +/* -*- c++ -*- + $Id: SKKChar.h,v 1.1.2.2 2007/08/17 13:22:36 t-suwa Exp $ + + MacOS X implementation of the SKK input method. + + Copyright (C) 2006 Tomotaka SUWA <t.suw****@mac*****> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +*/ + +#ifndef INC__SKKChar__ +#define INC__SKKChar__ + +// 各入力モードが処理する基本単位 +typedef int SKKChar; + +// 装飾キーの状態を格納する(Shift を除く 16bit) +#define SKKCHAR(code, mods) (code | ((mods & ~shiftKey & 0xffff) << 8)) + +#endif // INC__SKKChar__