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.
22 #include <DebugServices.h>
26 //---------------------------------------------------------------------------------------------------------------------------
28 //---------------------------------------------------------------------------------------------------------------------------
30 class CRegistrationPage : public CPropertyPage
37 //{{AFX_DATA(CRegistrationPage)
38 enum { IDD = IDR_APPLET_PAGE1 };
41 //{{AFX_VIRTUAL(CRegistrationPage)
42 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
45 DECLARE_DYNCREATE(CRegistrationPage)
47 //{{AFX_MSG(CRegistrationPage)
53 afx_msg BOOL OnSetActive();
56 void SetModified( BOOL bChanged = TRUE );
59 CEdit m_hostnameControl;
60 CEdit m_usernameControl;
61 CEdit m_passwordControl;
62 CButton m_advertiseServices;
65 HKEY m_hostnameSetupKey;
66 HKEY m_registrationSetupKey;
71 afx_msg void OnEnChangeHostname();
72 afx_msg void OnEnChangeUsername();
73 afx_msg void OnEnChangePassword();
74 afx_msg void OnBnClickedAdvertiseServices();