00001 // 00002 // Unihan Input Method 00003 // 00004 // Copyright © 2002-2007 Sun Wah Linux Ltd. 00005 // 00006 // 00007 // This library is free software; you can redistribute it and/or modify 00008 // it under the terms of the GNU Lesser General Public License as 00009 // published by the Free Software Foundation; either version 2.1 of the 00010 // License, or (at your option) any later version. 00011 // 00012 // This library is distributed in the hope that it will be useful, but 00013 // WITHOUT ANY WARRANTY; without even the implied warranty of 00014 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 // Lesser General Public License for more details. 00016 // 00017 // You should have received a copy of the GNU Lesser General Public 00018 // License along with this program; if not, write to the Free Software 00019 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 00020 // USA 00021 // 00022 // $Id: keyhandler.h 817 2007-08-24 16:31:08Z roger $ 00023 // 00024 00025 #ifndef __KEYHANDLER_H 00026 #define __KEYHANDLER_H 00027 00028 #include <iml/SunIM.h> 00029 00030 void keyhandler_init(iml_desktop_t *d); 00031 void keyhandler_done(iml_desktop_t *d); 00032 void unihan_handle_key_event(iml_session_t *s, IMKeyListEvent *ev); 00033 void unihan_handle_hotkey_event(iml_session_t *s, IMKeyListEvent *ev); 00034 00035 #endif /* __KEYHANDLER_H */ 00036 00037 // vi:ts=4:sw=4:nowrap:cin:expandtab
1.5.2