From d577d991b97ae2b5ee1af23641bcffc3f83af5b2 Mon Sep 17 00:00:00 2001 From: Pixel Date: Wed, 4 Nov 2009 11:56:41 -0800 Subject: Initial import. Contains the im, cd and iup librairies, and a "working" Makefile for them under linux. --- iup/srcole/tDispatch.h | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100755 iup/srcole/tDispatch.h (limited to 'iup/srcole/tDispatch.h') 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 + +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_) -- cgit v1.2.3