Windows: Mount Point and Symlink Overlay Icons
[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         void SetCell(const CString& strCell) { m_strCell = strCell; }
25         void SetVol(const CString& strVol)   { m_strVol = strVol; }
26         BOOL MountWasMade()                  { return m_bMade; }
27
28 // Dialog Data
29         //{{AFX_DATA(CMakeMountPointDlg)
30         enum { IDD = IDD_MAKE_MOUNT_POINT };
31         CButton m_Ok;
32         CEdit   m_Vol;
33         CButton m_RW;
34         CEdit   m_Dir;
35         CEdit   m_Cell;
36         int             m_nType;
37         //}}AFX_DATA
38
39
40 // Overrides
41         // ClassWizard generated virtual function overrides
42         //{{AFX_VIRTUAL(CMakeMountPointDlg)
43         protected:
44         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
45         //}}AFX_VIRTUAL
46
47 // Implementation
48 protected:
49
50         // Generated message map functions
51         //{{AFX_MSG(CMakeMountPointDlg)
52         virtual void OnOK();
53         afx_msg void OnChangeVolume();
54         afx_msg void OnChangeDir();
55         afx_msg void OnChangeCell();
56         virtual BOOL OnInitDialog();
57         afx_msg void OnHelp();
58         //}}AFX_MSG
59         DECLARE_MESSAGE_MAP()
60 };