libhangul  Version 0.1.0
매크로 | 타입정의 | 함수
hangulkeyboard.c 파일 참조
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include "hangul-gettext.h"
#include "hangul.h"
#include "hangulinternals.h"
#include "hangulkeyboard.h"

매크로

#define LIBHANGUL_KEYBOARD_DIR   LIBHANGUL_DATA_DIR "/keyboards"
 
#define HANGUL_KEYBOARD_TABLE_SIZE   0x80
 

타입정의

typedef struct _HangulCombinationItem HangulCombinationItem
 
typedef struct _HangulKeyboardList HangulKeyboardList
 
typedef struct _HangulKeyboardLoadContext HangulKeyboardLoadContext
 

함수

HangulCombination * hangul_combination_new ()
 
void hangul_combination_delete (HangulCombination *combination)
 
bool hangul_combination_set_data (HangulCombination *combination, ucschar *first, ucschar *second, ucschar *result, unsigned int n)
 
HangulKeyboard * hangul_keyboard_new ()
 
ucschar hangul_keyboard_get_mapping (const HangulKeyboard *keyboard, int tableid, unsigned key)
 
void hangul_keyboard_set_value (HangulKeyboard *keyboard, int key, ucschar value)
 
int hangul_keyboard_get_type (const HangulKeyboard *keyboard)
 
void hangul_keyboard_set_type (HangulKeyboard *keyboard, int type)
 
void hangul_keyboard_delete (HangulKeyboard *keyboard)
 
ucschar hangul_keyboard_combine (const HangulKeyboard *keyboard, unsigned id, ucschar first, ucschar second)
 
int hangul_keyboard_list_init ()
 
int hangul_keyboard_list_fini ()
 
unsigned int hangul_keyboard_list_get_count ()
 libhangul에서 제공하는 자판 개수를 구하는 함수 더 자세히 ...
 
const char * hangul_keyboard_list_get_keyboard_id (unsigned index_)
 libhangul에서 제공하는 자판의 id를 구하는 함수 더 자세히 ...
 
const char * hangul_keyboard_list_get_keyboard_name (unsigned index_)
 libhangul에서 제공하는 자판의 이름을 구하는 함수 더 자세히 ...
 
const HangulKeyboard * hangul_keyboard_list_get_keyboard (const char *id)