1 // **************************************************************************************
2 // File: KrbRealmHostMaintenance.h
3 // By: Arthur David Leather
5 // Copyright @1998 Massachusetts Institute of Technology - All rights reserved.
6 // Description: H file for KrbRealmHostMaintenance.cpp. Contains variables and functions
7 // for Kerberos Four and Five Properties
11 // MM/DD/YY Inits Description of Change
12 // 12/02/98 ADL Original
13 // **************************************************************************************
16 #if !defined(AFX_KRBREALMNAMEMAINTENANCE_H__2FE711C3_8E9A_11D2_94C5_0000861B8A3C__INCLUDED_)
17 #define AFX_KRBREALMNAMEMAINTENANCE_H__2FE711C3_8E9A_11D2_94C5_0000861B8A3C__INCLUDED_
21 #endif // _MSC_VER > 1000
24 /////////////////////////////////////////////////////////////////////////////
25 // CKrbRealmHostMaintenance dialog
28 #include "CLeashDragListBox.h"
32 class CKrbRealmHostMaintenance : public CPropertyPage
36 DECLARE_DYNCREATE(CKrbRealmHostMaintenance)
37 CHAR lineBuf[MAXLINE];
38 CString m_theAdminServerMarked;
39 CString m_theAdminServer;
40 BOOL m_isRealmListBoxInFocus;
42 BOOL m_initDnsKdcLookup;
43 BOOL m_newDnsKdcLookup;
45 bool OnButtonKdchostAddInternal();
47 //void ResetDefaultRealmComboBox();
50 //CKrbRealmHostMaintenance(CWnd* pParent = NULL); // standard constructor
51 CKrbRealmHostMaintenance();
52 virtual ~CKrbRealmHostMaintenance();
55 //{{AFX_DATA(CKrbRealmHostMaintenance)
56 enum { IDD = IDD_KRB_REALMHOST_MAINT };
57 CListBox m_KDCRealmList;
58 CLeashDragListBox m_KDCHostList;
63 // ClassWizard generated virtual function overrides
64 //{{AFX_VIRTUAL(CKrbRealmHostMaintenance)
66 virtual BOOL PreTranslateMessage(MSG* pMsg);
68 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
75 // Generated message map functions
76 //{{AFX_MSG(CKrbRealmHostMaintenance)
77 virtual BOOL OnInitDialog();
78 virtual BOOL OnApply();
79 virtual void OnCancel();
80 afx_msg void OnButtonRealmHostAdd();
81 afx_msg void OnButtonRealmHostEdit();
82 afx_msg void OnButtonRealmHostRemove();
83 afx_msg void OnSelchangeListKdcRealm();
84 afx_msg void OnButtonAdminserver();
85 afx_msg void OnSetfocusListKdcRealm();
86 afx_msg void OnButtonKdchostAdd();
87 afx_msg void OnButtonKdchostRemove();
88 afx_msg void OnButtonRemoveAdminserver();
89 afx_msg void OnSelchangeListKdcHost();
90 afx_msg void OnButtonKdchostEdit();
91 afx_msg void OnDblclkListKdcRealm();
92 afx_msg void OnDblclkListKdcHost();
93 afx_msg void OnButtonRealmhostMaintHelp();
94 afx_msg void OnCheckDnsKdcLookup();
99 //{{AFX_INSERT_LOCATION}}
100 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
102 #endif // !defined(AFX_KRBREALMNAMEMAINTENANCE_H__2FE711C3_8E9A_11D2_94C5_0000861B8A3C__INCLUDED_)