From c3584280092e251d572ada8d988cf0e46ae8e88f Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Tue, 8 May 2012 17:51:16 +0100 Subject: Add flags to context creation None defined as yet, but why not. Signed-off-by: Daniel Stone --- include/xkbcommon/xkbcommon.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/xkbcommon/xkbcommon.h b/include/xkbcommon/xkbcommon.h index ebb9aa4..31570f2 100644 --- a/include/xkbcommon/xkbcommon.h +++ b/include/xkbcommon/xkbcommon.h @@ -193,13 +193,18 @@ xkb_string_to_keysym(const char *s); * @{ */ +enum xkb_context_flags { + /** Apparently you can't have empty enums. What a drag. */ + XKB_CONTEXT_PLACEHOLDER = 0, +}; + /** * Returns a new XKB context, or NULL on failure. If successful, the caller * holds a reference on the context, and must free it when finished with * xkb_context_unref(). */ struct xkb_context * -xkb_context_new(void); +xkb_context_new(enum xkb_context_flags flags); /** * Appends a new entry to the include path used for keymap compilation. -- cgit v1.2.1