]> git.saurik.com Git - apple/mdnsresponder.git/blob - mDNSWindows/ControlPanel/FourthPage.h
mDNSResponder-212.1.tar.gz
[apple/mdnsresponder.git] / mDNSWindows / ControlPanel / FourthPage.h
1 /* -*- Mode: C; tab-width: 4 -*-
2 *
3 * Copyright (c) 2002-2004 Apple Computer, Inc. All rights reserved.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16
17 Change History (most recent first):
18
19 $Log: FourthPage.h,v $
20 Revision 1.1 2009/07/01 19:20:37 herscher
21 <rdar://problem/6713286> UI changes for configuring sleep proxy settings.
22
23
24 */
25
26 #pragma once
27
28 #include "stdafx.h"
29 #include "resource.h"
30
31 #include <DebugServices.h>
32 #include <list>
33 #include "afxcmn.h"
34
35 #include "afxwin.h"
36
37
38
39
40
41 //---------------------------------------------------------------------------------------------------------------------------
42 // CFourthPage
43 //---------------------------------------------------------------------------------------------------------------------------
44
45 class CFourthPage : public CPropertyPage
46 {
47 public:
48 CFourthPage();
49 ~CFourthPage();
50
51 protected:
52
53 //{{AFX_DATA(CFourthPage)
54 enum { IDD = IDR_APPLET_PAGE4 };
55 //}}AFX_DATA
56
57 //{{AFX_VIRTUAL(CFourthPage)
58 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
59 //}}AFX_VIRTUAL
60
61 DECLARE_DYNCREATE(CFourthPage)
62
63 //{{AFX_MSG(CFourthPage)
64 //}}AFX_MSG
65 DECLARE_MESSAGE_MAP()
66
67 private:
68
69 typedef std::list<CString> StringList;
70
71 afx_msg BOOL
72 OnSetActive();
73
74 afx_msg void
75 OnOK();
76
77 void
78 SetModified( BOOL bChanged = TRUE );
79
80 void
81 Commit();
82
83 BOOL m_modified;
84
85 public:
86 private:
87
88 CButton m_checkBox;
89
90 public:
91
92 afx_msg void OnBnClickedPowerManagement();
93 };