Imported Upstream version 1.15.2
[platform/upstream/krb5.git] / src / windows / leash / LeashProperties.h
1 //      **************************************************************************************
2 //      File:                   LeashProperties.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 LeashProperties.cpp. Contains variables and functions
7 //                                      for the Leash Properties Dialog Box
8 //
9 //      History:
10 //
11 //      MM/DD/YY        Inits   Description of Change
12 //      12/02/98        ADL             Original
13 //      **************************************************************************************
14
15 #if !defined(AFX_LEASHPROPERTIES_H__7E54E028_726E_11D2_945E_0000861B8A3C__INCLUDED_)
16 #define AFX_LEASHPROPERTIES_H__7E54E028_726E_11D2_945E_0000861B8A3C__INCLUDED_
17
18 #if _MSC_VER > 1000
19 #pragma once
20 #endif // _MSC_VER > 1000
21 // LeashProperties.h : header file
22 //
23
24 /////////////////////////////////////////////////////////////////////////////
25 // CLeashProperties dialog
26
27 #define TIMEHOST "TIMEHOST"
28
29 class CLeashProperties : public CDialog
30 {
31 private:
32         static char timeServer[255];
33         CHAR sysDir[MAX_PATH];
34     BOOL m_initMissingFiles;
35     BOOL m_newMissingFiles;
36     DWORD dw_initMslsaImport;
37     DWORD dw_newMslsaImport;
38
39 // Construction
40 public:
41         CLeashProperties(CWnd* pParent = NULL);   // standard constructor
42
43 // Dialog Data
44         //{{AFX_DATA(CLeashProperties)
45         enum { IDD = IDD_LEASH_PROPERTIES };
46                 // NOTE: the ClassWizard will add data members here
47         //}}AFX_DATA
48
49
50 // Overrides
51         // ClassWizard generated virtual function overrides
52         //{{AFX_VIRTUAL(CLeashProperties)
53         public:
54         protected:
55         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
56         //}}AFX_VIRTUAL
57
58 // Implementation
59 protected:
60
61         // Generated message map functions
62         //{{AFX_MSG(CLeashProperties)
63         virtual BOOL OnInitDialog();
64         virtual void OnOK();
65         afx_msg void OnHelp();
66     afx_msg void OnCheckMissingCfg();
67     afx_msg void OnRadioMslsaNever();
68     afx_msg void OnRadioMslsaAlways();
69     afx_msg void OnRadioMslsaMatchingRealm();
70     afx_msg void OnButtonResetDefaults();
71         //}}AFX_MSG
72         DECLARE_MESSAGE_MAP()
73 };
74
75 //{{AFX_INSERT_LOCATION}}
76 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
77
78 #endif // !defined(AFX_LEASHPROPERTIES_H__7E54E028_726E_11D2_945E_0000861B8A3C__INCLUDED_)