Call AC_GNU_SOURCE and AM_GNU_GETTEXT_VERSION. Call AC_PROG_LIBTOOL
[m17n/m17n-lib.git] / src / input.h
index 7f723ed..8b8ba15 100644 (file)
@@ -1,5 +1,5 @@
 /* input.h -- header file for the input method module.
-   Copyright (C) 2003, 2004
+   Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
      National Institute of Advanced Industrial Science and Technology (AIST)
      Registration Number H15PRO112
 
@@ -89,6 +89,8 @@ typedef struct
   /** Used by minput_win_driver (input-win.c).  */
   void *win_info;
 
+  MPlist *state_hook;
+
   unsigned long tick;
 } MInputContextInfo;
 
@@ -98,8 +100,8 @@ typedef struct
 #define MINPUT_KEY_ALT_MODIFIER                (1 << 3)
 #define MINPUT_KEY_SUPER_MODIFIER      (1 << 4)
 #define MINPUT_KEY_HYPER_MODIFIER      (1 << 5)
+#define MINPUT_KEY_ALTGR_MODIFIER      (1 << 6)
 
-extern int minput__callback (MInputContext *ic, MSymbol command);
 extern MSymbol minput__char_to_key (int c);
 
 #endif /* not _M17N_INPUT_H_ */