]>
git.saurik.com Git - apple/mdnsresponder.git/blob - mDNSWindows/ControlPanel/FirstPage.h
1 /* -*- Mode: C; tab-width: 4 -*-
3 * Copyright (c) 2002-2004 Apple Computer, Inc. All rights reserved.
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
9 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 Change History (most recent first):
20 Revision 1.4 2006/08/14 23:25:28 cheshire
21 Re-licensed mDNSResponder daemon source code under Apache License, Version 2.0
23 Revision 1.3 2005/03/07 18:27:42 shersche
24 <rdar://problem/4037940> Fix problem when ControlPanel commits changes to the browse domain list
26 Revision 1.2 2005/03/03 19:55:21 shersche
27 <rdar://problem/4034481> ControlPanel source code isn't saving CVS log info
37 #include <DebugServices.h>
41 //---------------------------------------------------------------------------------------------------------------------------
43 //---------------------------------------------------------------------------------------------------------------------------
45 class CFirstPage
: public CPropertyPage
52 //{{AFX_DATA(CFirstPage)
53 enum { IDD
= IDR_APPLET_PAGE1
};
56 //{{AFX_VIRTUAL(CFirstPage)
57 virtual void DoDataExchange(CDataExchange
* pDX
); // DDX/DDV support
60 DECLARE_DYNCREATE(CFirstPage
)
62 //{{AFX_MSG(CFirstPage)
66 afx_msg
void OnBnClickedSharedSecret();
67 void OnRegistryChanged();
70 afx_msg BOOL
OnSetActive();
73 void SetModified( BOOL bChanged
= TRUE
);
76 OSStatus
CheckStatus();
77 void ShowStatus( DWORD status
);
79 CEdit m_hostnameControl
;
80 bool m_ignoreHostnameChange
;
87 afx_msg
void OnEnChangeHostname();
88 CStatic m_failureIcon
;
89 CStatic m_successIcon
;