diff options
author | koekeishiya <aasvi93@hotmail.com> | 2019-07-10 00:11:50 +0200 |
---|---|---|
committer | koekeishiya <aasvi93@hotmail.com> | 2019-07-10 00:11:50 +0200 |
commit | 32f669eab3dea1908a83133e402411fa2e377ac3 (patch) | |
tree | f6ace98d121b9fac8598e6b52e266b082920671c /src/locale.h | |
parent | aae0e4f2a5d90a812343acf3d5b3f2f20f5c2dc0 (diff) | |
parent | 22071ddd738ad591f42500ad8dbe818ffd1eb93d (diff) | |
download | skhd-32f669eab3dea1908a83133e402411fa2e377ac3.tar.gz skhd-32f669eab3dea1908a83133e402411fa2e377ac3.zip |
merge mastermt
Diffstat (limited to 'src/locale.h')
-rw-r--r-- | src/locale.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/locale.h b/src/locale.h index 653bcfd..7a1ec6e 100644 --- a/src/locale.h +++ b/src/locale.h @@ -3,7 +3,15 @@ #include <stdint.h> -bool initialize_keycode_map(); +#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); #endif |