home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / com / inproc / server / varassoc.h < prev    next >
C/C++ Source or Header  |  1998-04-02  |  2KB  |  60 lines

  1. // varassoc.h : header file
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1995 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. // CVariantAssoc command target
  15.  
  16. class CVariantAssoc : public CCmdTarget
  17. {
  18.     DECLARE_DYNCREATE(CVariantAssoc)
  19.  
  20. // Constructors
  21. public:
  22.     CVariantAssoc();           // protected constructor used by dynamic creation
  23.  
  24. // Attributes
  25. public:
  26.     COleVariant m_varKey;
  27.     COleVariant m_varValue;
  28.  
  29. // Operations
  30. public:
  31.  
  32. // Overrides
  33.     // ClassWizard generated virtual function overrides
  34.     //{{AFX_VIRTUAL(CVariantAssoc)
  35.     public:
  36.     virtual void OnFinalRelease();
  37.     //}}AFX_VIRTUAL
  38.  
  39. // Implementation
  40. protected:
  41.     virtual ~CVariantAssoc();
  42.  
  43.     // Generated message map functions
  44.     //{{AFX_MSG(CVariantAssoc)
  45.         // NOTE - the ClassWizard will add and remove member functions here.
  46.     //}}AFX_MSG
  47.  
  48.     DECLARE_MESSAGE_MAP()
  49.     // Generated OLE dispatch map functions
  50.     //{{AFX_DISPATCH(CVariantAssoc)
  51.     afx_msg VARIANT GetKey();
  52.     afx_msg VARIANT GetValue();
  53.     //}}AFX_DISPATCH
  54.     DECLARE_DISPATCH_MAP()
  55.  
  56.     DECLARE_INTERFACE_MAP()
  57. };
  58.  
  59. /////////////////////////////////////////////////////////////////////////////
  60.