home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / ole / ipdrive / ipremote.h < prev    next >
C/C++ Source or Header  |  1998-03-26  |  2KB  |  77 lines

  1. // Machine generated IDispatch driver class(es) created with ClassWizard
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1998 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CVariantMap wrapper class
  15.  
  16. class CVariantMap : public COleDispatchDriver
  17. {
  18. // Attributes
  19. public:
  20.     CString GetStr1();
  21.     void SetStr1(LPCTSTR);
  22.     CString GetStr2();
  23.     void SetStr2(LPCTSTR);
  24.     long GetI1();
  25.     void SetI1(long);
  26.     long GetI2();
  27.     void SetI2(long);
  28.     long GetCount();
  29.     void SetCount(long);
  30.  
  31. // Operations
  32. public:
  33.     void SetAt(const VARIANT& from, const VARIANT& to);
  34.     void RemoveAll();
  35.     void RemoveKey(const VARIANT& key);
  36.     BOOL IsEmpty();
  37.     VARIANT GetItem(const VARIANT& from);
  38.     LPUNKNOWN Get_NewEnum();
  39. };
  40.  
  41. /////////////////////////////////////////////////////////////////////////////
  42. // CStringCollect wrapper class
  43.  
  44. class CStringCollect : public COleDispatchDriver
  45. {
  46. // Attributes
  47. public:
  48.     long GetCount();
  49.     void SetCount(long);
  50.  
  51. // Operations
  52. public:
  53.     CString GetItem(long nIndex);
  54.     void SetItem(long nIndex, LPCTSTR lpszNewValue);
  55.     long Add(LPCTSTR newValue);
  56.     long Find(LPCTSTR findValue);
  57.     long Remove(const VARIANT& removeValue);
  58.     void RemoveAll();
  59.     LPUNKNOWN Get_NewEnum();
  60. };
  61.  
  62. /////////////////////////////////////////////////////////////////////////////
  63. // CVariantAssoc wrapper class
  64.  
  65. class CVariantAssoc : public COleDispatchDriver
  66. {
  67. // Attributes
  68. public:
  69.     VARIANT GetKey();
  70.     void SetKey(const VARIANT&);
  71.     VARIANT GetValue();
  72.     void SetValue(const VARIANT&);
  73.  
  74. // Operations
  75. public:
  76. };
  77.