home *** CD-ROM | disk | FTP | other *** search
/ Game Programming in C++ - Start to Finish / GameProgrammingS.iso / developer_install / ReplicaNetFreewareV5_4.exe / data1.cab / Program_Executable_Files / Example5 / oleobjects.h < prev    next >
Encoding:
C/C++ Source or Header  |  2005-10-30  |  1.7 KB  |  52 lines

  1. /* START_LICENSE_HEADER
  2.  
  3. Copyright (C) 2000 Martin Piper, original design and program code
  4. Copyright (C) 2001-2005 Replica Software
  5.  
  6. This program file is copyright (C) Replica Software and can only be used under license.
  7. For more information visit: http://www.replicanet.com/
  8. Or email: info@replicanet.com
  9.  
  10. END_LICENSE_HEADER */
  11. #if !defined(AFX_OLEOBJECTS_H__981FA59F_33C4_49A0_B2BF_C56D921724AA__INCLUDED_)
  12. #define AFX_OLEOBJECTS_H__981FA59F_33C4_49A0_B2BF_C56D921724AA__INCLUDED_
  13.  
  14. #if _MSC_VER > 1000
  15. #pragma once
  16. #endif // _MSC_VER > 1000
  17. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  18.  
  19. // NOTE: Do not modify the contents of this file.  If this class is regenerated by
  20. //  Microsoft Visual C++, your modifications will be overwritten.
  21.  
  22.  
  23. // Dispatch interfaces referenced by this interface
  24. class COLEObject;
  25.  
  26. /////////////////////////////////////////////////////////////////////////////
  27. // COLEObjects wrapper class
  28.  
  29. class COLEObjects : public COleDispatchDriver
  30. {
  31. public:
  32.     COLEObjects() {}        // Calls COleDispatchDriver default constructor
  33.     COLEObjects(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
  34.     COLEObjects(const COLEObjects& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
  35.  
  36. // Attributes
  37. public:
  38.  
  39. // Operations
  40. public:
  41.     COLEObject GetItem(const VARIANT& Item);
  42.     long GetCount();
  43.     void Clear();
  44.     COLEObject Add(const VARIANT& Index, const VARIANT& Key, const VARIANT& source, const VARIANT& objclass);
  45.     void Remove(const VARIANT& Item);
  46. };
  47.  
  48. //{{AFX_INSERT_LOCATION}}
  49. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  50.  
  51. #endif // !defined(AFX_OLEOBJECTS_H__981FA59F_33C4_49A0_B2BF_C56D921724AA__INCLUDED_)
  52.