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.

33 lines
1017 B

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 2000 - 2001.
  5. //
  6. // File: comp.h
  7. //
  8. // Contents: Class Definition for IComponent
  9. //
  10. // History: 08-01-2001 Hiteshr Created
  11. //
  12. //----------------------------------------------------------------------------
  13. class CRoleComponentObject : public CComponentObject
  14. {
  15. BEGIN_COM_MAP(CRoleComponentObject)
  16. COM_INTERFACE_ENTRY(IComponent) // have to have at least one static entry, so pick one
  17. COM_INTERFACE_ENTRY_CHAIN(CComponentObject) // chain to the base class
  18. END_COM_MAP()
  19. DECLARE_NOT_AGGREGATABLE(CRoleComponentObject)
  20. public:
  21. CRoleComponentObject();
  22. ~CRoleComponentObject();
  23. protected:
  24. virtual HRESULT InitializeHeaders(CContainerNode* pContainerNode);
  25. virtual HRESULT InitializeBitmaps(CTreeNode* cookie);
  26. virtual HRESULT InitializeToolbar(IToolbar* pToolbar);
  27. HRESULT LoadToolbarStrings(MMCBUTTON * Buttons);
  28. };