tagging release
[dasher.git] / trunk / Src / Win32 / Widgets / SocketPage.h
blob91b8121a163720cfb8927068fe8ef0c8f9924429
1 // SocketPage.h
2 //
3 /////////////////////////////////////////////////////////////////////////////
4 //
5 // Copyright (c) 2002 Iain Murray, Inference Group, Cavendish, Cambridge.
6 //
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 {
20 public:
21 CSocketPage(HWND Parent, CDasherInterfaceBase * DI, CAppSettings *pAppSettings);
22 private:
24 void PopulateList();
25 void InitCustomBox();
26 bool UpdateInfo();
27 bool Apply();
28 bool Validate();
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__ */