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.
23 #include <DebugServices.h>
33 //---------------------------------------------------------------------------------------------------------------------------
35 //---------------------------------------------------------------------------------------------------------------------------
37 class CServicesPage : public CPropertyPage
45 //{{AFX_DATA(CServicesPage)
46 enum { IDD = IDR_APPLET_PAGE5 };
49 //{{AFX_VIRTUAL(CServicesPage)
50 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
53 DECLARE_DYNCREATE(CServicesPage)
55 //{{AFX_MSG(CServicesPage)
61 typedef std::list<CString> StringList;
70 SetModified( BOOL bChanged = TRUE );
80 CButton m_SMBCheckBox;
81 CButton m_powerManagementCheckBox;
86 afx_msg void OnBnClickedAdvertiseSMB();
87 afx_msg void OnBnClickedPowerManagement();
91 //---------------------------------------------------------------------------------------------------------------------------
92 // CPowerManagementWarning
93 //---------------------------------------------------------------------------------------------------------------------------
95 class CPowerManagementWarning : public CDialog
97 DECLARE_DYNAMIC(CPowerManagementWarning)
101 CPowerManagementWarning(CWnd* pParent = NULL); // standard constructor
103 virtual ~CPowerManagementWarning();
107 enum { IDD = IDR_POWER_MANAGEMENT_WARNING };
111 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
113 virtual BOOL OnInitDialog();
117 DECLARE_MESSAGE_MAP()
121 CStatic m_energySaverIcon;