diff options
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 |