summaryrefslogtreecommitdiff
path: root/include/xkbrules.h
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2008-07-18 16:41:29 +0300
committerDaniel Stone <daniel@fooishbar.org>2009-01-22 15:08:56 +1100
commit699824a35791735b4b4378adf8648e3aaa599ace (patch)
treea8b42257875f7abd17ae75d610a54739e7dfeb2a /include/xkbrules.h
parent1ad80678d88525159e55bb814205fd4eaca060a3 (diff)
XKB: Remove descriptions from maprules
We don't use them, as they're not up to the task. We'll get a better solution someday, promise. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include/xkbrules.h')
-rw-r--r--include/xkbrules.h52
1 files changed, 0 insertions, 52 deletions
diff --git a/include/xkbrules.h b/include/xkbrules.h
index 0a15de2e0..0f3f93490 100644
--- a/include/xkbrules.h
+++ b/include/xkbrules.h
@@ -44,17 +44,6 @@ typedef struct _XkbRF_VarDefs {
char * options;
} XkbRF_VarDefsRec,*XkbRF_VarDefsPtr;
-typedef struct _XkbRF_VarDesc {
- char * name;
- char * desc;
-} XkbRF_VarDescRec, *XkbRF_VarDescPtr;
-
-typedef struct _XkbRF_DescribeVars {
- int sz_desc;
- int num_desc;
- XkbRF_VarDescPtr desc;
-} XkbRF_DescribeVarsRec,*XkbRF_DescribeVarsPtr;
-
typedef struct _XkbRF_Rule {
int number;
int layout_num;
@@ -85,11 +74,6 @@ typedef struct _XkbRF_Group {
#define XkbRF_Invalid (1L<<5)
typedef struct _XkbRF_Rules {
- XkbRF_DescribeVarsRec models;
- XkbRF_DescribeVarsRec layouts;
- XkbRF_DescribeVarsRec variants;
- XkbRF_DescribeVarsRec options;
-
unsigned short sz_rules;
unsigned short num_rules;
XkbRF_RulePtr rules;
@@ -111,12 +95,6 @@ extern _X_EXPORT Bool XkbRF_GetComponents(
struct _XkbComponentNames * /* names */
);
-extern _X_EXPORT XkbRF_RulePtr XkbRF_AddRule(
- XkbRF_RulesPtr /* rules */
-);
-
-extern _X_EXPORT XkbRF_GroupPtr XkbRF_AddGroup(XkbRF_RulesPtr rules);
-
extern _X_EXPORT Bool XkbRF_LoadRules(
FILE * /* file */,
XkbRF_RulesPtr /* rules */
@@ -130,43 +108,13 @@ extern _X_EXPORT Bool XkbRF_LoadRulesByName(
/***====================================================================***/
-extern _X_EXPORT XkbRF_VarDescPtr XkbRF_AddVarDesc(
- XkbRF_DescribeVarsPtr /* vars */
-);
-
-extern _X_EXPORT XkbRF_VarDescPtr XkbRF_AddVarDescCopy(
- XkbRF_DescribeVarsPtr /* vars */,
- XkbRF_VarDescPtr /* copy_from */
-);
-
-extern _X_EXPORT Bool XkbRF_LoadDescriptions(
- FILE * /* file */,
- XkbRF_RulesPtr /* rules */
-);
-
-extern _X_EXPORT Bool XkbRF_LoadDescriptionsByName(
- char * /* base */,
- char * /* locale */,
- XkbRF_RulesPtr /* rules */
-);
-
-extern _X_EXPORT XkbRF_RulesPtr XkbRF_Load(
- char * /* base */,
- char * /* locale */,
- Bool /* wantDesc */,
- Bool /* wantRules */
-);
-
extern _X_EXPORT XkbRF_RulesPtr XkbRF_Create(void);
-/***====================================================================***/
-
extern _X_EXPORT void XkbRF_Free(
XkbRF_RulesPtr /* rules */,
Bool /* freeRules */
);
-
/***====================================================================***/
#define _XKB_RF_NAMES_PROP_ATOM "_XKB_RULES_NAMES"