diff options
author | koekeishiya <aasvi93@hotmail.com> | 2019-02-23 14:49:56 +0100 |
---|---|---|
committer | koekeishiya <aasvi93@hotmail.com> | 2019-02-23 14:49:56 +0100 |
commit | 0e703c3f275f6d4477f452acfb9cf9c73b9d9f1e (patch) | |
tree | 6d46a0835b6614548ac9292067e8b3b4590e134f /src/locale.h | |
parent | eeab7a37a2e017ea36d2385fd6b03b9572f181aa (diff) | |
download | skhd-0e703c3f275f6d4477f452acfb9cf9c73b9d9f1e.tar.gz skhd-0e703c3f275f6d4477f452acfb9cf9c73b9d9f1e.zip |
#59 reload config when input source changes
Diffstat (limited to 'src/locale.h')
-rw-r--r-- | src/locale.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/locale.h b/src/locale.h index d00a72e..7a1ec6e 100644 --- a/src/locale.h +++ b/src/locale.h @@ -3,6 +3,14 @@ #include <stdint.h> +#define CF_NOTIFICATION_CALLBACK(name) \ + void name(CFNotificationCenterRef center, \ + void *observer, \ + CFNotificationName name, \ + const void *object, \ + CFDictionaryRef userInfo) +typedef CF_NOTIFICATION_CALLBACK(cf_notification_callback); + bool initialize_keycode_map(void); uint32_t keycode_from_char(char key); |