Mercurial > sdl-ios-xcode
comparison EXCLUDE/GLIMM/include/IMM.hpp @ 4741:bb189d44af16
Added GLIMM (using IMM instead of TSF)
Uses small bit of TSF to fully disable cicero (TSF for non-TSF enabled apps)
author | dewyatt |
---|---|
date | Wed, 30 Jun 2010 17:29:20 -0400 |
parents | |
children | 0aaa54fbd2bc |
comparison
equal
deleted
inserted
replaced
4740:abf528de6d2e | 4741:bb189d44af16 |
---|---|
1 #ifndef IMM_HPP | |
2 #define IMM_HPP | |
3 | |
4 #define WIN32_LEAN_AND_MEAN | |
5 #include <Windows.h> | |
6 #include <msctf.h> | |
7 | |
8 class IMM | |
9 { | |
10 public: | |
11 IMM(); | |
12 ~IMM(); | |
13 | |
14 void Initialize(HWND Window); | |
15 void Finalize(); | |
16 | |
17 LRESULT Handle_Message(HWND Window, UINT Message, WPARAM wParam, LPARAM lParam, bool &Ate); | |
18 | |
19 private: | |
20 void Update_Input_Locale(); | |
21 | |
22 bool my_COM_Initialized; | |
23 ITfThreadMgr *my_Thread_Manager; | |
24 HWND my_Window; | |
25 HIMC my_Context; | |
26 HKL my_HKL; | |
27 bool my_Vertical_Candidates; | |
28 }; | |
29 | |
30 #endif |