Imported Upstream version 1.15.2
[platform/upstream/krb5.git] / src / windows / leash / KrbEditRealm.h
1 //      **************************************************************************************
2 //      File:                   KrbEditRealm.h
3 //      By:                             Arthur David Leather
4 //      Created:                12/02/98
5 //      Copyright               @1998 Massachusetts Institute of Technology - All rights reserved.
6 //      Description:    H file for Krb4EditRealmHostList.cpp. Contains variables and functions
7 //                                      for Kerberos Four Properties
8 //
9 //      History:
10 //
11 //      MM/DD/YY        Inits   Description of Change
12 //      12/02/98        ADL             Original
13 //      **************************************************************************************
14
15
16
17 #if !defined(AFX_EDITREALMHOSTLIST_H__26A1E1F7_9117_11D2_94D0_0000861B8A3C__INCLUDED_)
18 #define AFX_EDITREALMHOSTLIST_H__26A1E1F7_9117_11D2_94D0_0000861B8A3C__INCLUDED_
19
20 #if _MSC_VER > 1000
21 #pragma once
22 #endif // _MSC_VER > 1000
23 // EditRealmHostList.h : header file
24 //
25
26 /////////////////////////////////////////////////////////////////////////////
27 // CKrbEditRealm dialog
28
29 class CKrbEditRealm : public CDialog
30 {
31 // Construction
32 private:
33         //CString m_editItem;
34         //CString m_initRealm;
35         CString m_newRealm;
36         //CString m_initHost;
37         //CString m_newHost;
38         //BOOL m_initAdmin;
39         //BOOL m_newAdmin;
40         BOOL m_startup;
41
42 public:
43         CKrbEditRealm(CString& editItem, CWnd* pParent = NULL);
44         CString GetEditedItem() {return m_newRealm;}
45
46 // Dialog Data
47         //{{AFX_DATA(CKrbEditRealm)
48         enum { IDD = IDD_KRB_EDIT_REALM };
49         //}}AFX_DATA
50
51
52 // Overrides
53         // ClassWizard generated virtual function overrides
54         //{{AFX_VIRTUAL(CKrbEditRealm)
55         protected:
56         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
57         //}}AFX_VIRTUAL
58
59 // Implementation
60 protected:
61
62         // Generated message map functions
63         //{{AFX_MSG(CKrbEditRealm)
64         afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
65         afx_msg void OnChangeEditRealm();
66         virtual void OnOK();
67         virtual BOOL OnInitDialog();
68         //}}AFX_MSG
69         DECLARE_MESSAGE_MAP()
70 };
71
72 //{{AFX_INSERT_LOCATION}}
73 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
74
75 #endif // !defined(AFX_EDITREALMHOSTLIST_H__26A1E1F7_9117_11D2_94D0_0000861B8A3C__INCLUDED_)