diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-06-24 12:33:43 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-06-24 12:33:43 +0000 |
commit | 6d99499879c434f212f4c02e751f730eca610983 (patch) | |
tree | 45fe6c186a4b89b1b0565a321b9ce4f166b873a8 /plugins/Chat/chat.h | |
parent | 7a6399d054da0e2e21d00b110b885e15b278d3b7 (diff) |
Chat:
plusified
git-svn-id: http://svn.miranda-ng.org/main/trunk@602 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Chat/chat.h')
-rw-r--r-- | plugins/Chat/chat.h | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/plugins/Chat/chat.h b/plugins/Chat/chat.h index 27e325fd7b..ca73960017 100644 --- a/plugins/Chat/chat.h +++ b/plugins/Chat/chat.h @@ -156,6 +156,8 @@ typedef struct { GETEVENTFUNC pfnAddEvent;
}GCPTRS;
+extern HINSTANCE g_hInst;
+
//structs
typedef struct MODULE_INFO_TYPE
@@ -312,12 +314,27 @@ typedef struct }
LOGSTREAMDATA;
-struct CREOleCallback
+struct CREOleCallback : public IRichEditOleCallback
{
- IRichEditOleCallbackVtbl *lpVtbl;
+ CREOleCallback() : refCount(0) {}
unsigned refCount;
IStorage *pictStg;
int nextStgId;
+
+ STDMETHOD(QueryInterface)(REFIID riid, LPVOID FAR * lplpObj);
+ STDMETHOD_(ULONG,AddRef) (THIS);
+ STDMETHOD_(ULONG,Release) (THIS);
+
+ STDMETHOD(ContextSensitiveHelp)(BOOL fEnterMode);
+ STDMETHOD(GetNewStorage) (LPSTORAGE FAR * lplpstg);
+ STDMETHOD(GetInPlaceContext) (LPOLEINPLACEFRAME FAR * lplpFrame, LPOLEINPLACEUIWINDOW FAR * lplpDoc, LPOLEINPLACEFRAMEINFO lpFrameInfo);
+ STDMETHOD(ShowContainerUI) (BOOL fShow);
+ STDMETHOD(QueryInsertObject) (LPCLSID lpclsid, LPSTORAGE lpstg, LONG cp);
+ STDMETHOD(DeleteObject) (LPOLEOBJECT lpoleobj);
+ STDMETHOD(QueryAcceptData) (LPDATAOBJECT lpdataobj, CLIPFORMAT FAR * lpcfFormat, DWORD reco, BOOL fReally, HGLOBAL hMetaPict);
+ STDMETHOD(GetClipboardData) (CHARRANGE FAR * lpchrg, DWORD reco, LPDATAOBJECT FAR * lplpdataobj);
+ STDMETHOD(GetDragDropEffect) (BOOL fDrag, DWORD grfKeyState, LPDWORD pdwEffect);
+ STDMETHOD(GetContextMenu) (WORD seltype, LPOLEOBJECT lpoleobj, CHARRANGE FAR * lpchrg, HMENU FAR * lphmenu) ;
};
struct GlobalLogSettings_t {
|