summaryrefslogtreecommitdiff
path: root/libxklavier/xklavier_private.h
diff options
context:
space:
mode:
authorSergey Udaltsov <svu@gnome.org>2004-10-30 03:22:13 +0000
committerSergey Udaltsov <svu@gnome.org>2004-10-30 03:22:13 +0000
commit9351b1e50524391ca447637c3815e5b273e543b1 (patch)
treedba4766a4a16944e1f0297d3a76692397cb344ed /libxklavier/xklavier_private.h
parent18d5e8477a1d813eeeb940a358d33585d7786805 (diff)
downloadlibxklavier-9351b1e50524391ca447637c3815e5b273e543b1.tar.gz
vtable is created. Second step on the lengthy way to xmodmap.
Diffstat (limited to 'libxklavier/xklavier_private.h')
-rw-r--r--libxklavier/xklavier_private.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/libxklavier/xklavier_private.h b/libxklavier/xklavier_private.h
index a6a1239..c9a7810 100644
--- a/libxklavier/xklavier_private.h
+++ b/libxklavier/xklavier_private.h
@@ -5,6 +5,29 @@
#include <libxklavier/xklavier_config.h>
+typedef void (*XklFreeAllInfoHandler)( void );
+
+typedef const char **(*XklGetGroupNamesHandler)( void );
+
+typedef unsigned (*XklGetNumGroupsHandler)( void );
+
+typedef Bool (*XklLoadAllInfoHandler)( void );
+
+typedef void (*XklLockGroupHandler)( int group );
+
+typedef int (*XklPauseResumeListenHandler)( void );
+
+typedef struct
+{
+ XklFreeAllInfoHandler xklFreeAllInfoHandler;
+ XklGetGroupNamesHandler xklGetGroupNamesHandler;
+ XklGetNumGroupsHandler xklGetNumGroupsHandler;
+ XklLoadAllInfoHandler xklLoadAllInfoHandler;
+ XklLockGroupHandler xklLockGroupHandler;
+ XklPauseResumeListenHandler xklPauseListenHandler;
+ XklPauseResumeListenHandler xklResumeListenHandler;
+} XklVTable;
+
extern void _XklGetRealState( XklState * curState_return );
extern void _XklAddAppWindow( Window win, Window parent, Bool force,
XklState * initState );
@@ -81,6 +104,10 @@ extern Bool _XklIsTransparentAppWindow( Window appWin );
extern void _XklUpdateCurState( int group, unsigned indicators, const char reason[] );
+extern int _XklXkbInit( void );
+
+extern int _XklXmmInit( void );
+
extern Display *_xklDpy;
extern Window _xklRootWindow;
@@ -135,4 +162,6 @@ extern XklConfigCallback _xklConfigCallback;
extern void *_xklConfigCallbackData;
+extern XklVTable *xklVTable;
+
#endif