diff options
author | Daniel Stone <daniel@fooishbar.org> | 2013-02-28 10:48:40 -0800 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2013-03-19 10:53:37 +0000 |
commit | fbe5e6751e7ac806f8d55689e02966a1b995f3af (patch) | |
tree | e193e79801672c42d2264c187b5eaad9c753af50 /src/context.h | |
parent | d4c22ecc8a272da5d21f2b7991edf200b8873dea (diff) | |
download | xorg-lib-libxkbcommon-fbe5e6751e7ac806f8d55689e02966a1b995f3af.tar.gz |
Add environment overrides for default RMLVO
You can now set default values in the environment, as well as a context
option to ignore the environment, e.g. for tests.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'src/context.h')
-rw-r--r-- | src/context.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/context.h b/src/context.h index 2f94988..7c061a0 100644 --- a/src/context.h +++ b/src/context.h @@ -77,6 +77,21 @@ xkb_log(struct xkb_context *ctx, enum xkb_log_level level, xkb_log_cond_level((ctx), (level), __VA_ARGS__); \ } while (0) +const char * +xkb_context_get_default_rules(struct xkb_context *ctx); + +const char * +xkb_context_get_default_model(struct xkb_context *ctx); + +const char * +xkb_context_get_default_layout(struct xkb_context *ctx); + +const char * +xkb_context_get_default_variant(struct xkb_context *ctx); + +const char * +xkb_context_get_default_options(struct xkb_context *ctx); + /* * The format is not part of the argument list in order to avoid the * "ISO C99 requires rest arguments to be used" warning when only the |