3 /////////////////////////////////////////////////////////////////////////////
5 // Copyright (c) 2002 Iain Murray, Inference Group, Cavendish, Cambridge.
7 /////////////////////////////////////////////////////////////////////////////
9 #ifndef __SocketPage_h__
10 #define __SocketPage_h__
12 #include "PrefsPageBase.h"
14 #include "../resource.h"
15 #include "../AppSettings.h"
17 #include "../../DasherCore/DasherInterfaceBase.h"
19 class CSocketPage
:public CPrefsPageBase
{
21 CSocketPage(HWND Parent
, CDasherInterfaceBase
* DI
, CAppSettings
*pAppSettings
);
30 // validation subroutines:
31 bool validateTextBoxes(bool apply
, bool noerror
);
32 bool checkMinOrMax(bool apply
, bool noerror
, int paramID
, int idc
);
33 bool checkLabel(bool apply
, bool noerror
, int paramID
, int idc
);
34 bool checkPort(bool apply
, bool noerror
);
37 #endif /* #ifndef __SocketPage_h__ */