TextInputSources.h
1 #ifndef _TEXTINPUTSOURCES_H 2 #define _TEXTINPUTSOURCES_H 3 #include <CoreFoundation/CFString.h> 4 5 #ifdef __cplusplus 6 extern "C" { 7 #endif 8 9 typedef struct __TISInputSource* TISInputSourceRef; 10 11 extern const CFStringRef kTISPropertyUnicodeKeyLayoutData; 12 extern const CFStringRef kTISPropertyInputSourceLanguages; 13 extern const CFStringRef kTISPropertyLocalizedName; 14 15 extern TISInputSourceRef TISCopyCurrentKeyboardLayoutInputSource(void); 16 extern TISInputSourceRef TISCopyCurrentKeyboardInputSource(void); 17 18 extern void* TISGetInputSourceProperty(TISInputSourceRef inputSourceRef, CFStringRef key); 19 20 extern TISInputSourceRef TISCopyCurrentASCIICapableKeyboardLayoutInputSource(void); 21 22 #ifdef __cplusplus 23 } 24 #endif 25 26 #endif