diff EXCLUDE/GLIMM/include/IMM.hpp @ 4745:0aaa54fbd2bc

Many changes, preparing to pull/merge main repo to get SDL_GetKeyboardFocus.
author dewyatt
date Tue, 06 Jul 2010 02:06:17 -0400
parents bb189d44af16
children
line wrap: on
line diff
--- a/EXCLUDE/GLIMM/include/IMM.hpp	Tue Jul 06 02:00:15 2010 -0400
+++ b/EXCLUDE/GLIMM/include/IMM.hpp	Tue Jul 06 02:06:17 2010 -0400
@@ -16,8 +16,18 @@
 
 	LRESULT Handle_Message(HWND Window, UINT Message, WPARAM wParam, LPARAM lParam, bool &Ate);
 
+	void Enable();
+	void Disable();
+	bool Is_Enabled();
+	void Toggle();
+
+	void Focus_Gained();
+	void Focus_Lost();
+
 private:
 	void Update_Input_Locale();
+	void Cancel_Composition();
+	void Input_Language_Changed();
 
 	bool my_COM_Initialized;
 	ITfThreadMgr *my_Thread_Manager;
@@ -25,6 +35,7 @@
 	HIMC my_Context;
 	HKL my_HKL;
 	bool my_Vertical_Candidates;
+	bool my_Enabled;
 };
 
 #endif