aboutsummaryrefslogtreecommitdiff
path: root/src/locale.h
blob: 7a1ec6e48dec2f8c9da0b0235de69acc880d1447 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef SKHD_LOCALE_H
#define SKHD_LOCALE_H

#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);

#endif