aboutsummaryrefslogtreecommitdiff
path: root/src/locale.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/locale.h')
-rw-r--r--src/locale.h8
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);