diff options
author | Sergey Udaltsov <svu@gnome.org> | 2004-12-27 01:03:07 +0000 |
---|---|---|
committer | Sergey Udaltsov <svu@gnome.org> | 2004-12-27 01:03:07 +0000 |
commit | 8657f4a4a831cc24cce190e1da59a60ff392a152 (patch) | |
tree | 1125216193370d1740ef6ff3230ad6adc4b41989 /libxklavier/xklavier_private_xkb.h | |
parent | effcfb0b8028238117712191eba99846530a4f5e (diff) | |
download | libxklavier-8657f4a4a831cc24cce190e1da59a60ff392a152.tar.gz |
XkbComponentNames management improved
Diffstat (limited to 'libxklavier/xklavier_private_xkb.h')
-rw-r--r-- | libxklavier/xklavier_private_xkb.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libxklavier/xklavier_private_xkb.h b/libxklavier/xklavier_private_xkb.h index 8e458a2..d0a141e 100644 --- a/libxklavier/xklavier_private_xkb.h +++ b/libxklavier/xklavier_private_xkb.h @@ -22,6 +22,10 @@ extern Bool _XklXkbConfigMultipleLayoutsSupported( void ); extern const char *_XklXkbGetXkbEventName( int xkb_type ); +extern Bool _XklXkbConfigPrepareNative( const XklConfigRecPtr data, XkbComponentNamesPtr componentNamesPtr ); + +extern void _XklXkbConfigCleanupNative( XkbComponentNamesPtr componentNamesPtr ); + /* Start VTable methods */ extern Bool _XklXkbConfigActivate( const XklConfigRecPtr data ); @@ -58,6 +62,16 @@ extern void _XklXkbSetIndicators( const XklState *windowState ); /* End of VTable methods */ +#else + +/** + * VERY VERY BAD STYLE, some kind of 'protected' methods - + * but some programs may want to hook into them. + */ +extern Bool _XklXkbConfigPrepareNative( const XklConfigRecPtr data, void * componentNamesPtr ); + +extern void _XklXkbConfigCleanupNative( void * componentNamesPtr ); + #endif extern Bool _xklXkbExtPresent; |