Update NEWS for 1.6.22
[pkg-k5-afs_openafs.git] / src / WINNT / client_exp / submounts_dlg.h
blob827ea881975dadba522199c22267139ddf94a2d7
1 /*
2 * Copyright 2000, International Business Machines Corporation and others.
3 * All Rights Reserved.
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 */
10 #ifndef _SUBMOUNTSDLG_H_
11 #define _SUBMOUNTSDLG_H_
13 #include "resource.h"
15 #include "submount_info.h"
17 /////////////////////////////////////////////////////////////////////////////
18 // CSubmountsDlg dialog
20 class CSubmountsDlg : public CDialog
22 DECLARE_DYNCREATE(CSubmountsDlg)
24 BOOL m_bAddOnlyMode;
25 CString m_strAddOnlyPath;
27 SUBMT_INFO_ARRAY m_ToDo;
29 BOOL FillSubmtList();
30 BOOL FixSubmts();
31 void AddWork(CSubmountInfo *pInfo);
32 CSubmountInfo *FindWork(const CString& strShareName);
34 // Construction
35 public:
36 CSubmountsDlg();
37 ~CSubmountsDlg();
39 void SetAddOnlyMode(const CString& strAddOnlyPath);
41 // Dialog Data
42 //{{AFX_DATA(CSubmountsDlg)
43 enum { IDD = IDD_SUBMTINFO };
44 CButton m_Delete;
45 CButton m_Change;
46 CListBox m_SubmtList;
47 //}}AFX_DATA
50 // Overrides
51 // ClassWizard generate virtual function overrides
52 //{{AFX_VIRTUAL(CSubmountsDlg)
53 public:
54 virtual void WinHelp(DWORD dwData, UINT nCmd = HELP_CONTEXT);
55 protected:
56 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
57 //}}AFX_VIRTUAL
59 // Implementation
60 protected:
61 // Generated message map functions
62 //{{AFX_MSG(CSubmountsDlg)
63 afx_msg void OnAdd();
64 afx_msg void OnChange();
65 virtual BOOL OnInitDialog();
66 afx_msg void OnDelete();
67 afx_msg void OnSelChangeList();
68 afx_msg void OnOk();
69 //}}AFX_MSG
70 DECLARE_MESSAGE_MAP()
74 #endif // _SUBMOUNTSDLG_H_