]> git.saurik.com Git - apple/mdnsresponder.git/blob - Clients/PrinterSetupWizard/FourthPage.h
mDNSResponder-108.2.tar.gz
[apple/mdnsresponder.git] / Clients / PrinterSetupWizard / FourthPage.h
1 /*
2 * Copyright (c) 1997-2004 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
6 * This file contains Original Code and/or Modifications of Original Code
7 * as defined in and that are subject to the Apple Public Source License
8 * Version 2.0 (the 'License'). You may not use this file except in
9 * compliance with the License. Please obtain a copy of the License at
10 * http://www.opensource.apple.com/apsl/ and read it before using this
11 * file.
12 *
13 * The Original Code and all software distributed under the License are
14 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
15 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
16 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
18 * Please see the License for the specific language governing rights and
19 * limitations under the License.
20 *
21 * @APPLE_LICENSE_HEADER_END@
22
23 Change History (most recent first):
24
25 $Log: FourthPage.h,v $
26 Revision 1.3 2005/07/07 17:53:20 shersche
27 Fix problems associated with the CUPS printer workaround fix.
28
29 Revision 1.2 2005/01/06 08:17:08 shersche
30 Display the selected protocol ("Raw", "LPR", "IPP") rather than the port name
31
32 Revision 1.1 2004/06/18 04:36:57 rpantos
33 First checked in
34
35
36 */
37
38 #pragma once
39 #include "afxwin.h"
40
41
42 // CFourthPage dialog
43
44 class CFourthPage : public CPropertyPage
45 {
46 DECLARE_DYNAMIC(CFourthPage)
47
48 public:
49 CFourthPage();
50 virtual ~CFourthPage();
51
52 // Dialog Data
53 enum { IDD = IDD_FOURTH_PAGE };
54
55 virtual BOOL OnSetActive();
56 virtual BOOL OnKillActive();
57
58 protected:
59 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
60
61 DECLARE_MESSAGE_MAP()
62
63 private:
64
65 OSStatus OnInitPage();
66 CFont m_largeFont;
67 bool m_initialized;
68
69
70 public:
71 CStatic m_goodbye;
72 private:
73 CStatic m_printerNameCtrl;
74 CStatic m_printerManufacturerCtrl;
75 CStatic m_printerModelCtrl;
76 CStatic m_printerProtocolCtrl;
77 CStatic m_printerDefault;
78 };