]> git.saurik.com Git - apple/mdnsresponder.git/blob - Clients/PrinterSetupWizard/FourthPage.h
mDNSResponder-212.1.tar.gz
[apple/mdnsresponder.git] / Clients / PrinterSetupWizard / FourthPage.h
1 /* -*- Mode: C; tab-width: 4 -*-
2 *
3 * Copyright (c) 1997-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.4 2006/08/14 23:24:09 cheshire
21 Re-licensed mDNSResponder daemon source code under Apache License, Version 2.0
22
23 Revision 1.3 2005/07/07 17:53:20 shersche
24 Fix problems associated with the CUPS printer workaround fix.
25
26 Revision 1.2 2005/01/06 08:17:08 shersche
27 Display the selected protocol ("Raw", "LPR", "IPP") rather than the port name
28
29 Revision 1.1 2004/06/18 04:36:57 rpantos
30 First checked in
31
32
33 */
34
35 #pragma once
36 #include "afxwin.h"
37
38
39 // CFourthPage dialog
40
41 class CFourthPage : public CPropertyPage
42 {
43 DECLARE_DYNAMIC(CFourthPage)
44
45 public:
46 CFourthPage();
47 virtual ~CFourthPage();
48
49 // Dialog Data
50 enum { IDD = IDD_FOURTH_PAGE };
51
52 virtual BOOL OnSetActive();
53 virtual BOOL OnKillActive();
54
55 protected:
56 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
57
58 DECLARE_MESSAGE_MAP()
59
60 private:
61
62 OSStatus OnInitPage();
63 CFont m_largeFont;
64 bool m_initialized;
65
66
67 public:
68 CStatic m_goodbye;
69 private:
70 CStatic m_printerNameCtrl;
71 CStatic m_printerManufacturerCtrl;
72 CStatic m_printerModelCtrl;
73 CStatic m_printerProtocolCtrl;
74 CStatic m_printerDefault;
75 };