forked from Tr0n/client
Solution refactoring and restructuring, removed Boost dependency, removed unused tools
This commit is contained in:
36
src/UserInterface/PythonIME.h
Normal file
36
src/UserInterface/PythonIME.h
Normal file
@ -0,0 +1,36 @@
|
||||
#pragma once
|
||||
|
||||
#include "../eterBase/Singleton.h"
|
||||
#include "../eterlib/IME.h"
|
||||
|
||||
class CPythonIME :
|
||||
public IIMEEventSink,
|
||||
public CIME,
|
||||
public CSingleton<CPythonIME>
|
||||
{
|
||||
public:
|
||||
CPythonIME();
|
||||
virtual ~CPythonIME();
|
||||
|
||||
void MoveLeft();
|
||||
void MoveRight();
|
||||
void MoveHome();
|
||||
void MoveEnd();
|
||||
void SetCursorPosition(int iPosition);
|
||||
void Delete();
|
||||
|
||||
void Create(HWND hWnd);
|
||||
|
||||
protected:
|
||||
virtual void OnTab();
|
||||
virtual void OnReturn();
|
||||
virtual void OnEscape();
|
||||
|
||||
virtual bool OnWM_CHAR( WPARAM wParam, LPARAM lParam );
|
||||
virtual void OnUpdate();
|
||||
virtual void OnChangeCodePage();
|
||||
virtual void OnOpenCandidateList();
|
||||
virtual void OnCloseCandidateList();
|
||||
virtual void OnOpenReadingWnd();
|
||||
virtual void OnCloseReadingWnd();
|
||||
};
|
Reference in New Issue
Block a user