Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 1994-95 Microsoft Corporation
  3. Module Name:
  4. mapcol.h
  5. Abstract:
  6. Mapping collection object implementation.
  7. Author:
  8. Don Ryan (donryan) 04-Jan-1995
  9. Environment:
  10. User Mode - Win32
  11. Revision History:
  12. --*/
  13. #ifndef _MAPCOL_H_
  14. #define _MAPCOL_H_
  15. class CMappings : public CCmdTarget
  16. {
  17. DECLARE_DYNCREATE(CMappings)
  18. private:
  19. CCmdTarget* m_pParent;
  20. public:
  21. CObArray* m_pObArray;
  22. public:
  23. CMappings(CCmdTarget* pParent = NULL, CObArray* pObArray = NULL);
  24. virtual ~CMappings();
  25. // ClassWizard generated virtual function overrides
  26. //{{AFX_VIRTUAL(CMappings)
  27. public:
  28. virtual void OnFinalRelease();
  29. //}}AFX_VIRTUAL
  30. // Generated OLE dispatch map functions
  31. //{{AFX_DISPATCH(CMappings)
  32. afx_msg long GetCount();
  33. afx_msg LPDISPATCH GetApplication();
  34. afx_msg LPDISPATCH GetParent();
  35. afx_msg LPDISPATCH GetItem(const VARIANT FAR& index);
  36. //}}AFX_DISPATCH
  37. DECLARE_DISPATCH_MAP()
  38. protected:
  39. // Generated message map functions
  40. //{{AFX_MSG(CMappings)
  41. // NOTE - the ClassWizard will add and remove member functions here.
  42. //}}AFX_MSG
  43. DECLARE_MESSAGE_MAP()
  44. };
  45. #endif // _MAPCOL_H_