Main Page Modules Compound List File List Compound Members File Members

# xklavier_config.h File Reference

Go to the source code of this file.

## Compounds
struct | _XklConfigItem
## Defines
#define | XKL_MAX_CI_NAME_LENGTH 64
#define | XKL_MAX_CI_DESC_LENGTH 192
## Typedefs
typedef _XklConfigItem | XklConfigItem
typedef _XklConfigItem * | XklConfigItemPtr
typedef void(* | ConfigItemProcessFunc )(const XklConfigItemPtr configItem, void *userData)
typedef void(* | GroupProcessFunc )(const XklConfigItemPtr configItem, Bool allowMultipleSelection, void *userData)
## Functions
void | XklConfigInit (void)
void | XklConfigTerm (void)
Bool | XklConfigLoadRegistry (void)
void | XklConfigFreeRegistry (void)
void | XklConfigEnumModels (ConfigItemProcessFunc func, void *userData)
void | XklConfigEnumLayouts (ConfigItemProcessFunc func, void *userData)
void | XklConfigEnumLayoutVariants (const char *layoutName, ConfigItemProcessFunc func, void *userData)
void | XklConfigEnumOptionGroups (GroupProcessFunc func, void *userData)
void | XklConfigEnumOptions (const char *optionGroupName, ConfigItemProcessFunc func, void *userData)
Bool | XklConfigFindModel (XklConfigItemPtr ptr)
Bool | XklConfigFindLayout (XklConfigItemPtr ptr)
Bool | XklConfigFindVariant (const char *layoutName, XklConfigItemPtr ptr)
Bool | XklConfigFindOptionGroup (XklConfigItemPtr ptr, Bool *allowMultipleSelection)
Bool | XklConfigFindOption (const char *optionGroupName, XklConfigItemPtr ptr)
Bool | XklConfigActivate (const char *model, const char *layout, const char *variant, const int numOptions, const char *options[])
Bool | XklConfigWriteXKMFile (const char *fileName, const char *model, const char *layout, const char *variant, const int numOptions, const char *options[])

## Detailed Description

## Define Documentation

#define XKL_MAX_CI_DESC_LENGTH 192

| Maximum description length, including '\0' character. Important: this length is in bytes, so for unicode (UTF-8 encoding in XML file) the actual maximum length can be smaller.

#define XKL_MAX_CI_NAME_LENGTH 64

| Maximum name length, including '\0' character

## Typedef Documentation

typedef struct _XklConfigItem XklConfigItem

| The configuration item. Corresponds to XML element "configItem".

typedef struct _XklConfigItem * XklConfigItemPtr

| The configuration item. Corresponds to XML element "configItem".