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.
 
 
 
 
 
 

73 lines
1.7 KiB

/**********************************************************************/
/** Microsoft Windows/NT **/
/** Copyright(c) Microsoft Corporation, 1997 - 2002 **/
/**********************************************************************/
/*
ModeNode.h
This file contains all of the "Main Mode" and "Quick Mode"
objects that appear in the scope pane of the MMC framework.
The objects are:
FILE HISTORY:
*/
#ifndef _HEADER_MODENODE
#define _HEADER_MODENODE
class CQmNodeHandler : public CIpsmHandler
{
// Interface
public:
CQmNodeHandler(ITFSComponentData *pCompData);
OVERRIDE_NodeHandler_GetString()
{ return (nCol == 0) ? GetDisplayName() : NULL; }
// base handler functionality we override
OVERRIDE_BaseHandlerNotify_OnExpand();
public:
// helper routines
HRESULT InitData(ISpdInfo * pSpdInfo);
HRESULT UpdateStatus(ITFSNode * pNode);
// CIpsmHandler overrides
virtual HRESULT InitializeNode(ITFSNode * pNode);
// Implementation
private:
protected:
SPISpdInfo m_spSpdInfo;
};
class CMmNodeHandler : public CIpsmHandler
{
// Interface
public:
CMmNodeHandler(ITFSComponentData *pCompData);
OVERRIDE_NodeHandler_GetString()
{ return (nCol == 0) ? GetDisplayName() : NULL; }
// base handler functionality we override
OVERRIDE_BaseHandlerNotify_OnExpand();
public:
// helper routines
HRESULT InitData(ISpdInfo * pSpdInfo);
HRESULT UpdateStatus(ITFSNode * pNode);
// CIpsmHandler overrides
virtual HRESULT InitializeNode(ITFSNode * pNode);
// Implementation
private:
protected:
SPISpdInfo m_spSpdInfo;
};
#endif