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.

96 lines
2.2 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows/NT **/
  3. /** Copyright(c) Microsoft Corporation, 1997 - 1998 **/
  4. /**********************************************************************/
  5. /*
  6. statndpp.h
  7. WINS scope pane status node property pages
  8. FILE HISTORY:
  9. */
  10. #if !defined _STATNDPP_H
  11. #define _STATNDPP_H
  12. #if _MSC_VER >= 1000
  13. #pragma once
  14. #endif // _MSC_VER >= 1000
  15. // StatNdpp.h : header file
  16. //
  17. /////////////////////////////////////////////////////////////////////////////
  18. // CStatusNodePropGen dialog
  19. class CStatusNodePropGen : public CPropertyPageBase
  20. {
  21. DECLARE_DYNCREATE(CStatusNodePropGen)
  22. // Construction
  23. public:
  24. CStatusNodePropGen();
  25. ~CStatusNodePropGen();
  26. // Dialog Data
  27. //{{AFX_DATA(CStatusNodePropGen)
  28. enum { IDD = IDD_STATUS_NODE_PROPERTIES };
  29. int m_nUpdateInterval;
  30. //}}AFX_DATA
  31. UINT m_uImage;
  32. // Overrides
  33. // ClassWizard generate virtual function overrides
  34. //{{AFX_VIRTUAL(CStatusNodePropGen)
  35. public:
  36. virtual BOOL OnApply();
  37. protected:
  38. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  39. //}}AFX_VIRTUAL
  40. // Implementation
  41. protected:
  42. // Generated message map functions
  43. //{{AFX_MSG(CStatusNodePropGen)
  44. afx_msg void OnChangeEditUpdate();
  45. virtual BOOL OnInitDialog();
  46. //}}AFX_MSG
  47. DECLARE_MESSAGE_MAP()
  48. public:
  49. virtual DWORD * GetHelpMap() { return WinsGetHelpMap(CStatusNodePropGen::IDD);}
  50. };
  51. class CStatusNodeProperties : public CPropertyPageHolderBase
  52. {
  53. public:
  54. CStatusNodeProperties(ITFSNode * pNode,
  55. IComponentData * pComponentData,
  56. ITFSComponentData * pTFSCompData,
  57. LPCTSTR pszSheetName
  58. );
  59. virtual ~CStatusNodeProperties();
  60. ITFSComponentData * GetTFSCompData()
  61. {
  62. if (m_spTFSCompData)
  63. m_spTFSCompData->AddRef();
  64. return m_spTFSCompData;
  65. }
  66. public:
  67. CStatusNodePropGen m_pageGeneral;
  68. protected:
  69. SPITFSComponentData m_spTFSCompData;
  70. };
  71. //{{AFX_INSERT_LOCATION}}
  72. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  73. #endif // !defined _STATNDPP_H