112 lines
2.7 KiB
C
112 lines
2.7 KiB
C
|
//Copyright (c) 1998 - 1999 Microsoft Corporation
|
||
|
|
||
|
// pages.h
|
||
|
|
||
|
#ifndef __pages_h__
|
||
|
#define __pages_h__
|
||
|
|
||
|
#include "stdafx.h"
|
||
|
#include "cocpage.h"
|
||
|
|
||
|
class AppSrvWarningPage : public COCPage
|
||
|
{
|
||
|
public:
|
||
|
AppSrvWarningPage (COCPageData* pPageData);
|
||
|
|
||
|
UINT GetPageID () {return IDD_PROPPAGE_TERMINAL_SERVER_APPSRV_WARN;}
|
||
|
BOOL CanShow () ;
|
||
|
UINT GetHeaderTitleResource () ;
|
||
|
UINT GetHeaderSubTitleResource () ;
|
||
|
BOOL OnInitDialog (HWND hwndDlg, WPARAM /* wParam */, LPARAM /* lParam */);
|
||
|
|
||
|
};
|
||
|
|
||
|
class AppSrvUninstallpage : public COCPage
|
||
|
{
|
||
|
public:
|
||
|
AppSrvUninstallpage (COCPageData* pPageData);
|
||
|
|
||
|
UINT GetPageID () {return IDD_PROPPAGE_TERMINAL_SERVER_APPSRV_WARN;}
|
||
|
BOOL CanShow () ;
|
||
|
UINT GetHeaderTitleResource () ;
|
||
|
UINT GetHeaderSubTitleResource () ;
|
||
|
BOOL OnInitDialog (HWND hwndDlg, WPARAM /* wParam */, LPARAM /* lParam */);
|
||
|
|
||
|
};
|
||
|
|
||
|
class DefSecPageData: public COCPageData
|
||
|
{
|
||
|
public:
|
||
|
DefSecPageData ();
|
||
|
~DefSecPageData ();
|
||
|
|
||
|
LPTSTR* GetWinStationArray () {return m_pWinStationArray;}
|
||
|
UINT GetWinStationCount () {return m_cArray;}
|
||
|
BOOL AlocateWinstationsArray (UINT uiWinstationCount);
|
||
|
BOOL AddWinstation (LPCTSTR pStr);
|
||
|
VOID CleanArray ();
|
||
|
|
||
|
private:
|
||
|
UINT m_cArray;
|
||
|
LPTSTR* m_pWinStationArray;
|
||
|
|
||
|
|
||
|
};
|
||
|
|
||
|
class DefaultSecurityPage : public COCPage
|
||
|
{
|
||
|
public:
|
||
|
DefaultSecurityPage (COCPageData* pPageData);
|
||
|
|
||
|
UINT GetPageID () {return IDD_PROPPAGE_TERMINAL_SERVER_SEC;}
|
||
|
BOOL CanShow ();
|
||
|
BOOL OnInitDialog (HWND hwndDlg, WPARAM /* wParam */, LPARAM /* lParam */);
|
||
|
UINT GetHeaderTitleResource ();
|
||
|
UINT GetHeaderSubTitleResource () ;
|
||
|
BOOL ApplyChanges ();
|
||
|
VOID OnActivation ();
|
||
|
VOID OnDeactivation ();
|
||
|
|
||
|
private:
|
||
|
HWND m_hListView;
|
||
|
UINT m_cWinStations;
|
||
|
|
||
|
BOOL PopulateWinStationList ();
|
||
|
DefSecPageData* GetPageData();
|
||
|
|
||
|
};
|
||
|
|
||
|
/*
|
||
|
class PermPageData: public COCPageData
|
||
|
{
|
||
|
|
||
|
public:
|
||
|
PermPageData();
|
||
|
~PermPageData();
|
||
|
|
||
|
EPermMode GetPermissionMode() {return m_ePermMode;}
|
||
|
|
||
|
private:
|
||
|
EPermMode m_ePermMode;
|
||
|
};
|
||
|
*/
|
||
|
class PermPage: public COCPage
|
||
|
{
|
||
|
public:
|
||
|
PermPage(COCPageData* pPageData);
|
||
|
|
||
|
UINT GetPageID() {return IDD_PROPPAGE_TERMINAL_SERVER_PERM;}
|
||
|
BOOL CanShow();
|
||
|
BOOL OnInitDialog(HWND hwndDlg, WPARAM /* wParam */, LPARAM /* lParam */);
|
||
|
VOID OnActivation();
|
||
|
UINT GetHeaderTitleResource() {return IDS_STRING_PERM_PAGE_HEADER_TITLE;}
|
||
|
UINT GetHeaderSubTitleResource() {return IDS_STRING_PERM_PAGE_HEADER_SUBTITLE;}
|
||
|
BOOL ApplyChanges();
|
||
|
|
||
|
// private:
|
||
|
// PermPageData* GetPageData();
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif // __pages_h__
|