4 #include "locale_list.h"
5 #include "layout_list.h"
8 #define INPUT_LIST_NODE_FLAG_EDITED 0x0001
9 #define INPUT_LIST_NODE_FLAG_ADDED 0x0002
10 #define INPUT_LIST_NODE_FLAG_DELETED 0x0004
11 #define INPUT_LIST_NODE_FLAG_DEFAULT 0x0008
14 typedef struct _INPUT_LIST_NODE
18 LOCALE_LIST_NODE
*pLocale
;
19 LAYOUT_LIST_NODE
*pLayout
;
21 HKL hkl
; /* Only for loaded input methods */
25 struct _INPUT_LIST_NODE
*pPrev
;
26 struct _INPUT_LIST_NODE
*pNext
;
31 InputList_Create(VOID
);
34 InputList_Process(VOID
);
37 InputList_Add(LOCALE_LIST_NODE
*pLocale
, LAYOUT_LIST_NODE
*pLayout
);
40 InputList_SetDefault(INPUT_LIST_NODE
*pNode
);
43 InputList_Remove(INPUT_LIST_NODE
*pNode
);
46 InputList_Destroy(VOID
);
49 InputList_GetFirst(VOID
);