You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
934 B
42 lines
934 B
//
|
|
// candcomp.h - Candidate UI Compartment Manager
|
|
//
|
|
|
|
#ifndef CANDCOMP_H
|
|
#define CANDCOMP_H
|
|
|
|
#include "candkey.h"
|
|
|
|
|
|
class CCandidateUI;
|
|
|
|
|
|
//
|
|
// CCandUICompartmentMgr
|
|
// = candidate UI compartment manager =
|
|
//
|
|
|
|
class CCandUICompartmentMgr
|
|
{
|
|
public:
|
|
CCandUICompartmentMgr( void );
|
|
virtual ~CCandUICompartmentMgr( void );
|
|
|
|
HRESULT Initialize( CCandidateUI *pCandUI );
|
|
HRESULT Uninitialize( void );
|
|
|
|
HRESULT SetUIStyle( IUnknown *punk, CANDUISTYLE style );
|
|
HRESULT GetUIStyle( IUnknown *punk, CANDUISTYLE *pstyle );
|
|
HRESULT SetUIOption( IUnknown *punk, DWORD dwOption );
|
|
HRESULT GetUIOption( IUnknown *punk, DWORD *pdwOption );
|
|
|
|
HRESULT SetKeyTable( IUnknown *punk, CCandUIKeyTable *pCandUIKeyTable );
|
|
HRESULT GetKeyTable( IUnknown *punk, CCandUIKeyTable **ppCandUIKeyTable );
|
|
HRESULT ClearKeyTable( IUnknown *punk );
|
|
|
|
protected:
|
|
CCandidateUI *m_pCandUI;
|
|
};
|
|
|
|
#endif // CANDCOMP_H
|
|
|