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.

62 lines
1.7 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1998
  6. //
  7. // File: domainui.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #ifndef _DOMAINUI_H
  11. #define _DOMAINUI_H
  12. #include "nspage.h"
  13. #include "aclpage.h"
  14. ///////////////////////////////////////////////////////////////////////////////
  15. // FORWARD DECLARATIONS
  16. //class CDNSDomainNode;
  17. ///////////////////////////////////////////////////////////////////////////////
  18. // CDNSDelegatedDomainNameServersPropertyPage
  19. class CDNSDelegatedDomainNameServersPropertyPage : public CDNSNameServersPropertyPage
  20. {
  21. protected:
  22. virtual void ReadRecordNodesList();
  23. };
  24. ///////////////////////////////////////////////////////////////////////////////
  25. // CDNSDomainPropertyPageHolder
  26. // page holder to contain DNS Domain property pages
  27. #define DOMAIN_HOLDER_NS RR_HOLDER_NS
  28. class CDNSDomainPropertyPageHolder : public CPropertyPageHolderBase
  29. {
  30. public:
  31. CDNSDomainPropertyPageHolder(CDNSDomainNode* pContainerDomainNode, CDNSDomainNode* pThisDomainNode,
  32. CComponentDataObject* pComponentData);
  33. virtual ~CDNSDomainPropertyPageHolder();
  34. protected:
  35. virtual int OnSelectPageMessage(long nPageCode)
  36. { return (nPageCode == DOMAIN_HOLDER_NS) ? 0 : -1; }
  37. virtual HRESULT OnAddPage(int nPage, CPropertyPageBase* pPage);
  38. private:
  39. CDNSDomainNode* GetDomainNode();
  40. CDNSDelegatedDomainNameServersPropertyPage m_nameServersPage;
  41. // optional security page
  42. CAclEditorPage* m_pAclEditorPage;
  43. friend class CDNSDelegatedDomainNameServersPropertyPage; // for GetDomainNode()
  44. };
  45. #endif // _DOMAINUI_H