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: im_methods.h 769 2007-05-14 03:39:06Z roger $ 00023 // 00024 00025 #ifndef __IM_METHODS_H 00026 #define __IM_METHODS_H 00027 00028 #include <unihan_im.h> 00029 00030 #include <iml/SunIM.h> 00031 00032 int commit_string(UnihanIM *uim, char *string); 00033 int match_phrase(UnihanIM *uim, char *string); 00034 extern UnihanMethods unihan_methods_table; 00035 IMFeedbackList *feedback_new(iml_session_t *s, int count); 00036 int lookup_start(UnihanIM *uim, UnihanLookupStart *lustart); 00037 int lookup_draw(UnihanIM *uim, UnihanLookupDraw *ludraw); 00038 int lookup_done(UnihanIM *uim); 00039 00040 #endif /* __IM_METHODS_H */ 00041 00042 // vi:ts=4:sw=4:nowrap:cin:expandtab
1.5.2