diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:48:50 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:48:50 +0000 |
commit | cb45b671537b25c832428c0a75cb7d7712dea3e5 (patch) | |
tree | 980bdede3bf8457796988d83b410321d6af21b69 /include | |
parent | 52a8406aaba4ed1f9fa5e78bfa5da7af659bce01 (diff) |
XFree86 4.3.0.1xf86-4_3_0_1PRE_xf86-4_3_0_1
Diffstat (limited to 'include')
-rw-r--r-- | include/X11/extensions/XKBconfig.h | 7 | ||||
-rw-r--r-- | include/X11/extensions/XKBrules.h | 71 | ||||
-rw-r--r-- | include/X11/extensions/XKMformat.h | 4 |
3 files changed, 28 insertions, 54 deletions
diff --git a/include/X11/extensions/XKBconfig.h b/include/X11/extensions/XKBconfig.h index 5c38b6f..f139125 100644 --- a/include/X11/extensions/XKBconfig.h +++ b/include/X11/extensions/XKBconfig.h @@ -27,6 +27,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +/* $XFree86: xc/lib/xkbfile/XKBconfig.h,v 3.5 2001/01/17 19:43:39 dawes Exp $ */ typedef struct _XkbConfigRtrn *XkbConfigRtrnPtr; @@ -93,6 +94,7 @@ typedef struct _XkbConfigUnboundMod { #define XkbCF_AccessXTimeoutOptsOn (1L<<7) #define XkbCF_AccessXTimeoutOptsOff (1L<<8) #define XkbCF_GroupsWrap (1L<<9) +#define XkbCF_InitialOpts (1L<<10) typedef struct _XkbConfigRtrn { unsigned defined; @@ -119,10 +121,15 @@ typedef struct _XkbConfigRtrn { char * symbols; char * types; char * compat; + Bool replace_initial_ctrls; unsigned long initial_ctrls; unsigned long initial_ctrls_clear; + Bool replace_initial_opts; + unsigned short initial_opts; + unsigned short initial_opts_clear; + XkbConfigModInfoRec initial_mods; XkbConfigModInfoRec internal_mods; XkbConfigModInfoRec ignore_lock_mods; diff --git a/include/X11/extensions/XKBrules.h b/include/X11/extensions/XKBrules.h index ffc5138..61f1551 100644 --- a/include/X11/extensions/XKBrules.h +++ b/include/X11/extensions/XKBrules.h @@ -27,6 +27,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +/* $XFree86: xc/lib/xkbfile/XKBrules.h,v 3.5 2002/11/26 01:43:25 dawes Exp $ */ /***====================================================================***/ @@ -53,6 +54,9 @@ typedef struct _XkbRF_DescribeVars { } XkbRF_DescribeVarsRec,*XkbRF_DescribeVarsPtr; typedef struct _XkbRF_Rule { + int number; + int layout_num; + int variant_num; char * model; char * layout; char * variant; @@ -67,10 +71,17 @@ typedef struct _XkbRF_Rule { unsigned flags; } XkbRF_RuleRec,*XkbRF_RulePtr; +typedef struct _XkbRF_Group { + int number; + char * name; + char * words; +} XkbRF_GroupRec, *XkbRF_GroupPtr; + #define XkbRF_PendingMatch (1L<<1) -#define XkbRF_Delayed (1L<<2) +#define XkbRF_Option (1L<<2) #define XkbRF_Append (1L<<3) -#define XkbRF_Invalid (1L<<4) +#define XkbRF_Normal (1L<<4) +#define XkbRF_Invalid (1L<<5) typedef struct _XkbRF_Rules { XkbRF_DescribeVarsRec models; @@ -85,63 +96,15 @@ typedef struct _XkbRF_Rules { unsigned short sz_rules; unsigned short num_rules; XkbRF_RulePtr rules; + unsigned short sz_groups; + unsigned short num_groups; + XkbRF_GroupPtr groups; } XkbRF_RulesRec, *XkbRF_RulesPtr; /***====================================================================***/ _XFUNCPROTOBEGIN -extern Bool XkbRF_ApplyRule( -#if NeedFunctionPrototypes - XkbRF_RulePtr /* rule */, - XkbComponentNamesPtr /* names */ -#endif -); - -extern Bool XkbRF_CheckApplyRule( -#if NeedFunctionPrototypes - XkbRF_RulePtr /* rule */, - XkbRF_VarDefsPtr /* defs */, - XkbComponentNamesPtr /* names */ -#endif -); - -extern void XkbRF_ClearPartialMatches( -#if NeedFunctionPrototypes - XkbRF_RulesPtr /* rules */ -#endif -); - -extern Bool XkbRF_ApplyPartialMatches( -#if NeedFunctionPrototypes - XkbRF_RulesPtr /* rules */, - XkbComponentNamesPtr /* names */ -#endif -); - -extern void XkbRF_CheckApplyDelayedRules( -#if NeedFunctionPrototypes - XkbRF_RulesPtr /* rules */, - XkbRF_VarDefsPtr /* defs */, - XkbComponentNamesPtr /* names */ -#endif -); - -extern Bool XkbRF_CheckApplyRules( -#if NeedFunctionPrototypes - XkbRF_RulesPtr /* rules */, - XkbRF_VarDefsPtr /* defs */, - XkbComponentNamesPtr /* names */ -#endif -); - -extern char * XkbRF_SubstituteVars( -#if NeedFunctionPrototypes - char * /* p_name */, - XkbRF_VarDefsPtr /* defs */ -#endif -); - extern Bool XkbRF_GetComponents( #if NeedFunctionPrototypes XkbRF_RulesPtr /* rules */, @@ -156,6 +119,8 @@ extern XkbRF_RulePtr XkbRF_AddRule( #endif ); +extern XkbRF_GroupPtr XkbRF_AddGroup(XkbRF_RulesPtr rules); + extern Bool XkbRF_LoadRules( #if NeedFunctionPrototypes FILE * /* file */, diff --git a/include/X11/extensions/XKMformat.h b/include/X11/extensions/XKMformat.h index 9e70845..8834630 100644 --- a/include/X11/extensions/XKMformat.h +++ b/include/X11/extensions/XKMformat.h @@ -24,12 +24,14 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +/* $XFree86: xc/lib/xkbfile/XKMformat.h,v 1.2 2001/08/01 00:44:44 tsi Exp $ */ + #ifndef _XKMFORMAT_H_ #define _XKMFORMAT_H_ 1 #include <X11/extensions/XKB.h> #include <X11/extensions/XKBproto.h> -#include "XKM.h" +#include <X11/extensions/XKM.h> typedef struct _xkmFileInfo { CARD8 type; |