Source code of Windows XP (NT5)
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.

72 lines
1.7 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows/NT **/
  3. /** Copyright(c) Microsoft Corporation, 1997 - 1998 **/
  4. /**********************************************************************/
  5. /*
  6. ModeNode.h
  7. This file contains all of the "Main Mode" and "Quick Mode"
  8. objects that appear in the scope pane of the MMC framework.
  9. The objects are:
  10. FILE HISTORY:
  11. */
  12. #ifndef _HEADER_MODENODE
  13. #define _HEADER_MODENODE
  14. class CQmNodeHandler : public CIpsmHandler
  15. {
  16. // Interface
  17. public:
  18. CQmNodeHandler(ITFSComponentData *pCompData);
  19. OVERRIDE_NodeHandler_GetString()
  20. { return (nCol == 0) ? GetDisplayName() : NULL; }
  21. // base handler functionality we override
  22. OVERRIDE_BaseHandlerNotify_OnExpand();
  23. public:
  24. // helper routines
  25. HRESULT InitData(ISpdInfo * pSpdInfo);
  26. HRESULT UpdateStatus(ITFSNode * pNode);
  27. // CIpsmHandler overrides
  28. virtual HRESULT InitializeNode(ITFSNode * pNode);
  29. // Implementation
  30. private:
  31. protected:
  32. SPISpdInfo m_spSpdInfo;
  33. };
  34. class CMmNodeHandler : public CIpsmHandler
  35. {
  36. // Interface
  37. public:
  38. CMmNodeHandler(ITFSComponentData *pCompData);
  39. OVERRIDE_NodeHandler_GetString()
  40. { return (nCol == 0) ? GetDisplayName() : NULL; }
  41. // base handler functionality we override
  42. OVERRIDE_BaseHandlerNotify_OnExpand();
  43. public:
  44. // helper routines
  45. HRESULT InitData(ISpdInfo * pSpdInfo);
  46. HRESULT UpdateStatus(ITFSNode * pNode);
  47. // CIpsmHandler overrides
  48. virtual HRESULT InitializeNode(ITFSNode * pNode);
  49. // Implementation
  50. private:
  51. protected:
  52. SPISpdInfo m_spSpdInfo;
  53. };
  54. #endif