diff options
author | Pixel <pixel@nobis-crew.org> | 2009-11-04 11:56:41 -0800 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2009-11-04 11:59:33 -0800 |
commit | d577d991b97ae2b5ee1af23641bcffc3f83af5b2 (patch) | |
tree | 590639d50205d1bcfaff2a7d2dc6ebf3f373c7ed /iup/srcole/tDispatch.h |
Initial import. Contains the im, cd and iup librairies, and a "working" Makefile for them under linux.
Diffstat (limited to 'iup/srcole/tDispatch.h')
-rwxr-xr-x | iup/srcole/tDispatch.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/iup/srcole/tDispatch.h b/iup/srcole/tDispatch.h new file mode 100755 index 0000000..c061d75 --- /dev/null +++ b/iup/srcole/tDispatch.h @@ -0,0 +1,40 @@ +// tDispatch.h: interface for the tDispatch class. +// +////////////////////////////////////////////////////////////////////// + +#if !defined(AFX_TDISPATCH_H__37A5ADED_91FB_11D3_A906_0004AC252223__INCLUDED_) +#define AFX_TDISPATCH_H__37A5ADED_91FB_11D3_A906_0004AC252223__INCLUDED_ + +#if _MSC_VER >= 1000 +#pragma once +#endif // _MSC_VER >= 1000 + +#include <windows.h> + +class tDispatch : public IDispatch +{ +public: + protected: + ULONG m_cRef; + class tOleHandler *m_pTen; + LPUNKNOWN m_pUnkOuter; + + public: + tDispatch(class tOleHandler *, LPUNKNOWN); + ~tDispatch(void); + + STDMETHODIMP QueryInterface(REFIID, LPVOID *); + STDMETHODIMP_(ULONG) AddRef(void); + STDMETHODIMP_(ULONG) Release(void); + + STDMETHODIMP GetTypeInfoCount(UINT *); + STDMETHODIMP GetTypeInfo(UINT, LCID, ITypeInfo **); + STDMETHODIMP GetIDsOfNames(REFIID, OLECHAR **, UINT + , LCID, DISPID *); + STDMETHODIMP Invoke(DISPID, REFIID, LCID, USHORT + , DISPPARAMS *, VARIANT *, EXCEPINFO *, UINT *); + + +}; + +#endif // !defined(AFX_TDISPATCH_H__37A5ADED_91FB_11D3_A906_0004AC252223__INCLUDED_) |