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.
39 lines
757 B
39 lines
757 B
//
|
|
// funcprv.h
|
|
//
|
|
|
|
#ifndef FUNCPRV_H
|
|
#define FUNCPRV_H
|
|
|
|
#include "private.h"
|
|
|
|
class CInputContext;
|
|
|
|
class CFunctionProvider : public ITfFunctionProvider,
|
|
public CComObjectRootImmx
|
|
{
|
|
public:
|
|
CFunctionProvider();
|
|
~CFunctionProvider();
|
|
|
|
BEGIN_COM_MAP_IMMX(CFunctionProvider)
|
|
COM_INTERFACE_ENTRY(ITfFunctionProvider)
|
|
END_COM_MAP_IMMX()
|
|
|
|
IMMX_OBJECT_IUNKNOWN_FOR_ATL()
|
|
|
|
//
|
|
// ITfFunctionProvider
|
|
//
|
|
STDMETHODIMP GetType(GUID *pguid);
|
|
STDMETHODIMP GetDescription(BSTR *pbstrDesc);
|
|
STDMETHODIMP GetFunction(REFGUID rguid, REFIID riid, IUnknown **ppunk);
|
|
|
|
private:
|
|
DWORD _dwCookie;
|
|
|
|
long _cRef;
|
|
DBG_ID_DECLARE;
|
|
};
|
|
|
|
#endif // FUNCPRV_H
|