nt-makefile-clean-targets-20010917
[openafs.git] / src / WINNT / client_exp / make_mount_point_dlg.h
1 /*
2  * Copyright 2000, International Business Machines Corporation and others.
3  * All Rights Reserved.
4  * 
5  * This software has been released under the terms of the IBM Public
6  * License.  For details, see the LICENSE file in the top-level source
7  * directory or online at http://www.openafs.org/dl/license10.html
8  */
9
10 class CMakeMountPointDlg : public CDialog
11 {
12         CString m_strDir;
13         CString m_strVol;
14         CString m_strCell;
15         BOOL m_bMade;
16
17         void CheckEnableOk();
18         
19 // Construction
20 public:
21         CMakeMountPointDlg(CWnd* pParent = NULL);   // standard constructor
22
23         void SetDir(const CString& strDir)      { m_strDir = strDir; }
24         BOOL MountWasMade()                                     { return m_bMade; }
25
26 // Dialog Data
27         //{{AFX_DATA(CMakeMountPointDlg)
28         enum { IDD = IDD_MAKE_MOUNT_POINT };
29         CButton m_Ok;
30         CEdit   m_Vol;
31         CButton m_RW;
32         CEdit   m_Dir;
33         CEdit   m_Cell;
34         int             m_nType;
35         //}}AFX_DATA
36
37
38 // Overrides
39         // ClassWizard generated virtual function overrides
40         //{{AFX_VIRTUAL(CMakeMountPointDlg)
41         protected:
42         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
43         //}}AFX_VIRTUAL
44
45 // Implementation
46 protected:
47
48         // Generated message map functions
49         //{{AFX_MSG(CMakeMountPointDlg)
50         virtual void OnOK();
51         afx_msg void OnChangeVolume();
52         afx_msg void OnChangeDir();
53         afx_msg void OnChangeCell();
54         virtual BOOL OnInitDialog();
55         afx_msg void OnHelp();
56         //}}AFX_MSG
57         DECLARE_MESSAGE_MAP()
58 };