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
33 lines
1017 B
//+---------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
// Copyright (C) Microsoft Corporation, 2000 - 2001.
|
|
//
|
|
// File: comp.h
|
|
//
|
|
// Contents: Class Definition for IComponent
|
|
//
|
|
// History: 08-01-2001 Hiteshr Created
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
class CRoleComponentObject : public CComponentObject
|
|
{
|
|
BEGIN_COM_MAP(CRoleComponentObject)
|
|
COM_INTERFACE_ENTRY(IComponent) // have to have at least one static entry, so pick one
|
|
COM_INTERFACE_ENTRY_CHAIN(CComponentObject) // chain to the base class
|
|
END_COM_MAP()
|
|
|
|
DECLARE_NOT_AGGREGATABLE(CRoleComponentObject)
|
|
public:
|
|
CRoleComponentObject();
|
|
~CRoleComponentObject();
|
|
|
|
protected:
|
|
virtual HRESULT InitializeHeaders(CContainerNode* pContainerNode);
|
|
virtual HRESULT InitializeBitmaps(CTreeNode* cookie);
|
|
virtual HRESULT InitializeToolbar(IToolbar* pToolbar);
|
|
HRESULT LoadToolbarStrings(MMCBUTTON * Buttons);
|
|
};
|
|
|
|
|