Back to index

im-sdk  12.3.91
IIIMGdkEventKey.h
Go to the documentation of this file.
00001 /*
00002   IIIMGdkEventKey.h
00003   Copyright (C) 2003 Free Standards Group
00004 
00005   Permission is hereby granted, free of charge, to any person obtaining a
00006   copy of this software and associated documentation files (the
00007   "Software"), to deal in the Software without restriction, including
00008   without limitation the rights to use, copy, modify, merge, publish,
00009   distribute, sublicense, and/or sell copies of the Software, and to
00010   permit persons to whom the Software is furnished to do so, subject to
00011   the following conditions: The above copyright notice and this
00012   permission notice shall be included in all copies or substantial
00013   portions of the Software.
00014 
00015   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
00016   OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
00017   MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
00018   IN NO EVENT SHALL OPENI18N WG OR FREE STANDARDS GROUP. BE LIABLE
00019   FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
00020   CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH
00021   THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE EVEN IF
00022   ADVISED IN ADVANCE OF THE POSSIBILITY OF SUCH DAMAGES.
00023 
00024   Except as contained in this notice, the names of OpenI18N WG and/or
00025   Free Standards Group shall not be used in advertising or otherwise to
00026   promote the sale, use or other dealings in this Software without prior
00027   written authorization from OpenI18N WG and/or Free Standards Group
00028   as applicable.
00029 
00030   Author: MIYASHITA, Hisashi <himi@OpenI18N.org>
00031 
00032 */
00033 #ifndef IIIMGDKEVENTKEY_H_
00034 #define IIIMGDKEVENTKEY_H_
00035 #include <iiimcf.h>
00036 #include <gdk/gdk.h>
00037 
00038 enum IIIMF_MODIFIERS
00039 {
00040   IIIMF_SHIFT_MODIFIER = 1,
00041   IIIMF_CONTROL_MODIFIER = 2,
00042   IIIMF_META_MODIFIER = 4,
00043   IIIMF_ALT_MODIFIER = 8,
00044   IIIMF_ALT_GRAPH_MODIFIER = 32
00045 };
00046 
00047 extern IIIMF_status
00048 convert_GdkEventKey_to_IIIMCF_keyevent (GdkEventKey * e,
00049                                    IIIMCF_keyevent * pkev);
00050 
00051 extern IIIMF_status
00052 convert_IIIMCF_keyevent_to_GdkEventKey (IIIMCF_keyevent * pkev,
00053                                    GdkEventKey * e);
00054 extern int g2icode (guint);
00055 
00056 #endif /* not IIIMGDKEVENTKEY_H_ */
00057 
00058 /* Local Variables: */
00059 /* c-file-style: "gnu" */
00060 /* End: */