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.

111 lines
2.7 KiB

  1. //Copyright (c) 1998 - 1999 Microsoft Corporation
  2. // pages.h
  3. #ifndef __pages_h__
  4. #define __pages_h__
  5. #include "stdafx.h"
  6. #include "cocpage.h"
  7. class AppSrvWarningPage : public COCPage
  8. {
  9. public:
  10. AppSrvWarningPage (COCPageData* pPageData);
  11. UINT GetPageID () {return IDD_PROPPAGE_TERMINAL_SERVER_APPSRV_WARN;}
  12. BOOL CanShow () ;
  13. UINT GetHeaderTitleResource () ;
  14. UINT GetHeaderSubTitleResource () ;
  15. BOOL OnInitDialog (HWND hwndDlg, WPARAM /* wParam */, LPARAM /* lParam */);
  16. };
  17. class AppSrvUninstallpage : public COCPage
  18. {
  19. public:
  20. AppSrvUninstallpage (COCPageData* pPageData);
  21. UINT GetPageID () {return IDD_PROPPAGE_TERMINAL_SERVER_APPSRV_WARN;}
  22. BOOL CanShow () ;
  23. UINT GetHeaderTitleResource () ;
  24. UINT GetHeaderSubTitleResource () ;
  25. BOOL OnInitDialog (HWND hwndDlg, WPARAM /* wParam */, LPARAM /* lParam */);
  26. };
  27. class DefSecPageData: public COCPageData
  28. {
  29. public:
  30. DefSecPageData ();
  31. ~DefSecPageData ();
  32. LPTSTR* GetWinStationArray () {return m_pWinStationArray;}
  33. UINT GetWinStationCount () {return m_cArray;}
  34. BOOL AlocateWinstationsArray (UINT uiWinstationCount);
  35. BOOL AddWinstation (LPCTSTR pStr);
  36. VOID CleanArray ();
  37. private:
  38. UINT m_cArray;
  39. LPTSTR* m_pWinStationArray;
  40. };
  41. class DefaultSecurityPage : public COCPage
  42. {
  43. public:
  44. DefaultSecurityPage (COCPageData* pPageData);
  45. UINT GetPageID () {return IDD_PROPPAGE_TERMINAL_SERVER_SEC;}
  46. BOOL CanShow ();
  47. BOOL OnInitDialog (HWND hwndDlg, WPARAM /* wParam */, LPARAM /* lParam */);
  48. UINT GetHeaderTitleResource ();
  49. UINT GetHeaderSubTitleResource () ;
  50. BOOL ApplyChanges ();
  51. VOID OnActivation ();
  52. VOID OnDeactivation ();
  53. private:
  54. HWND m_hListView;
  55. UINT m_cWinStations;
  56. BOOL PopulateWinStationList ();
  57. DefSecPageData* GetPageData();
  58. };
  59. /*
  60. class PermPageData: public COCPageData
  61. {
  62. public:
  63. PermPageData();
  64. ~PermPageData();
  65. EPermMode GetPermissionMode() {return m_ePermMode;}
  66. private:
  67. EPermMode m_ePermMode;
  68. };
  69. */
  70. class PermPage: public COCPage
  71. {
  72. public:
  73. PermPage(COCPageData* pPageData);
  74. UINT GetPageID() {return IDD_PROPPAGE_TERMINAL_SERVER_PERM;}
  75. BOOL CanShow();
  76. BOOL OnInitDialog(HWND hwndDlg, WPARAM /* wParam */, LPARAM /* lParam */);
  77. VOID OnActivation();
  78. UINT GetHeaderTitleResource() {return IDS_STRING_PERM_PAGE_HEADER_TITLE;}
  79. UINT GetHeaderSubTitleResource() {return IDS_STRING_PERM_PAGE_HEADER_SUBTITLE;}
  80. BOOL ApplyChanges();
  81. // private:
  82. // PermPageData* GetPageData();
  83. };
  84. #endif // __pages_h__