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.

88 lines
1.9 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows/NT **/
  3. /** Copyright(c) Microsoft Corporation, 1997 - 1998 **/
  4. /**********************************************************************/
  5. /*
  6. ACS.h
  7. Defines Common Stuff to ACS
  8. FILE HISTORY:
  9. 11/12/97 Wei Jiang Created
  10. */
  11. #ifndef _ACS_H_
  12. #define _ACS_H_
  13. #include "hlptable.h"
  14. //=============================================================================
  15. // Dialog that handles Context Help
  16. //
  17. class CACSDialog : public CHelpDialog // talk back to property sheet
  18. {
  19. DECLARE_DYNCREATE(CACSDialog)
  20. // Implementation
  21. protected:
  22. // Generated message map functions
  23. //{{AFX_MSG(CACSDialog)
  24. //}}AFX_MSG
  25. DECLARE_MESSAGE_MAP()
  26. protected:
  27. CACSDialog() : CHelpDialog()
  28. {
  29. SetGlobalHelpTable(ACSHelpTable);
  30. };
  31. public:
  32. CACSDialog(UINT nIDTemplate, CWnd* pParent) : CHelpDialog(nIDTemplate, pParent)
  33. {
  34. SetGlobalHelpTable(ACSHelpTable);
  35. };
  36. };
  37. //=============================================================================
  38. // Page that handles Context Help, and talk with CPageManager to do
  39. // OnApply together
  40. //
  41. class CACSPage : public CManagedPage // talk back to property sheet
  42. {
  43. DECLARE_DYNCREATE(CACSPage)
  44. // Implementation
  45. protected:
  46. // Generated message map functions
  47. //{{AFX_MSG(CACSPage)
  48. //}}AFX_MSG
  49. DECLARE_MESSAGE_MAP()
  50. public:
  51. CACSPage(UINT nIDTemplate) : CManagedPage(nIDTemplate)
  52. {
  53. SetGlobalHelpTable(ACSHelpTable);
  54. };
  55. protected:
  56. CACSPage() {
  57. SetGlobalHelpTable(ACSHelpTable);
  58. }
  59. };
  60. class CACSSubnetConfig;
  61. class CACSSubnetHandle;
  62. class CACSSubnetPageManager : public CPageManager
  63. {
  64. public:
  65. virtual ~CACSSubnetPageManager();
  66. void SetSubnetData(CACSSubnetConfig* pConfig, CACSSubnetHandle* pHandle);
  67. virtual BOOL OnApply();
  68. protected:
  69. CComPtr<CACSSubnetConfig> m_spConfig;
  70. CACSSubnetHandle* m_pHandle;
  71. };
  72. #endif