1 // **************************************************************************************
2 // File: Krb5Properties.h
3 // By: Arthur David Leather
5 // Copyright @1998 Massachusetts Institute of Technology - All rights reserved.
6 // Description: H file for Krb5Properties.cpp. Contains variables and functions
7 // for Kerberos Five Properties
11 // MM/DD/YY Inits Description of Change
12 // 12/02/98 ADL Original
13 // **************************************************************************************
16 #if !defined(AFX_KRB5PROPERTIES_H__9011A0B3_6E92_11D2_9454_0000861B8A3C__INCLUDED_)
17 #define AFX_KRB5PROPERTIES_H__9011A0B3_6E92_11D2_9454_0000861B8A3C__INCLUDED_
21 #endif // _MSC_VER > 1000
22 // Krb5Properties.h : header file
25 /////////////////////////////////////////////////////////////////////////////
26 // CKrb5ConfigOptions dialog
28 class CKrb5ConfigFileLocation : public CPropertyPage
32 DECLARE_DYNCREATE(CKrb5ConfigFileLocation)
33 CString m_initConfigFile;
34 CString m_initTicketFile;
35 CString m_newConfigFile;
36 CString m_newTicketFile;
40 CKrb5ConfigFileLocation(); // standard constructor
43 //{{AFX_DATA(CKrb5ConfigFileLocation)
44 enum { IDD = IDD_KRB5_PROP_LOCATION };
45 CEdit m_ticketEditBox;
50 // ClassWizard generated virtual function overrides
51 //{{AFX_VIRTUAL(CKrb5ConfigFileLocation)
54 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
57 virtual BOOL OnApply();
62 // Generated message map functions
63 //{{AFX_MSG(CKrb5ConfigFileLocation)
64 virtual BOOL OnInitDialog();
65 afx_msg void OnButtonKrb5iniBrowse();
66 afx_msg void OnButtonKrb5TicketfileBrowse();
67 afx_msg void OnChangeEditKrb5TxtFile();
68 afx_msg void OnChangeEditKrb5iniLocation();
69 afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
75 /////////////////////////////////////////////////////////////////////////////
76 // CKrb5ConfigOptions dialog
78 class CKrb5ConfigOptions : public CPropertyPage
82 DECLARE_DYNCREATE(CKrb5ConfigOptions)
83 INT m_initForwardable;
91 DWORD m_initIPAddress;
94 #endif /* SET_PUBLIC_IP */
97 CKrb5ConfigOptions(); // standard constructor
100 //{{AFX_DATA(CKrb5ConfigOptions)
101 enum { IDD = IDD_KRB5_PROP_CONTENT };
106 // ClassWizard generated virtual function overrides
107 //{{AFX_VIRTUAL(CKrb5ConfigOptions)
109 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
112 virtual BOOL OnApply();
117 // Generated message map functions
118 //{{AFX_MSG(CKrb5ConfigOptions)
119 virtual BOOL OnInitDialog();
120 afx_msg void OnCheckForwardable();
121 afx_msg void OnCheckProxiable();
122 afx_msg void OnCheckRenewable();
123 afx_msg void OnCheckNoAddress();
125 DECLARE_MESSAGE_MAP()
128 class CKrb5Properties : public CPropertySheet
131 DECLARE_DYNAMIC(CKrb5Properties)
134 CKrb5ConfigFileLocation m_fileLocation;
135 CKrb5ConfigOptions m_configOptions;
139 CKrb5Properties(UINT nIDCaption, CWnd* pParentWnd = NULL,
140 UINT iSelectPage = 0);
141 CKrb5Properties(LPCTSTR pszCaption, CWnd* pParentWnd = NULL,
142 UINT iSelectPage = 0);
151 // ClassWizard generated virtual function overrides
152 //{{AFX_VIRTUAL(CKrb5Properties)
157 virtual ~CKrb5Properties();
159 // Generated message map functions
161 //{{AFX_MSG(CKrb5Properties)
162 // NOTE - the ClassWizard will add and remove member functions here.
163 afx_msg void OnHelp();
165 DECLARE_MESSAGE_MAP()
169 //{{AFX_INSERT_LOCATION}}
170 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
172 #endif // !defined(AFX_KRB5PROPERTIES_H__9011A0B3_6E92_11D2_9454_0000861B8A3C__INCLUDED_)