macos-use-platform-copy-of-afssettings-20060802
[openafs.git] / src / WINNT / win9xpanel / Change.h
1 /* Copyright 2000, International Business Machines Corporation and others.
2         All Rights Reserved.
3  
4         This software has been released under the terms of the IBM Public
5         License.  For details, see the LICENSE file in the top-level source
6         directory or online at http://www.openafs.org/dl/license10.html
7 */
8 #if !defined(AFX_CHANGE_H__CF7462A3_F999_11D3_A374_00105A6BCA62__INCLUDED_)
9 #define AFX_CHANGE_H__CF7462A3_F999_11D3_A374_00105A6BCA62__INCLUDED_
10
11 #if _MSC_VER > 1000
12 #pragma once
13 #endif // _MSC_VER > 1000
14 // Change.h : header file
15 //
16
17 /////////////////////////////////////////////////////////////////////////////
18 // CChange dialog
19
20 class CChange : public CDialog
21 {
22 // Construction
23 public:
24         CChange(BOOL change,CWnd* pParent = NULL);   // standard constructor
25         CString m_sDrive;
26
27 // Dialog Data
28         //{{AFX_DATA(CChange)
29         enum { IDD = IDD_AFSCHANGE };
30         CEdit   m_cShare;
31         CButton m_cAuto;
32         CEdit   m_cPath;
33         CComboBox       m_cDrive;
34         CString m_sPath;
35         CString m_sDescription;
36         BOOL    m_bAuto;
37         //}}AFX_DATA
38
39
40 // Overrides
41         // ClassWizard generated virtual function overrides
42         //{{AFX_VIRTUAL(CChange)
43         protected:
44         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
45         //}}AFX_VIRTUAL
46
47 // Implementation
48 protected:
49         BOOL m_bChange;
50         void ListDrive();
51         BOOL IsValidSubmountName (LPCTSTR pszSubmount);
52         BOOL IsValidShareName (LPCTSTR pszSubmount);
53         CWinAfsLoadDlg *m_pParent;
54         // Generated message map functions
55         //{{AFX_MSG(CChange)
56         virtual void OnOK();
57         virtual void OnCancel();
58         virtual BOOL OnInitDialog();
59         afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
60         afx_msg void OnHelpmain();
61         //}}AFX_MSG
62         DECLARE_MESSAGE_MAP()
63 };
64
65 //{{AFX_INSERT_LOCATION}}
66 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
67
68 #endif // !defined(AFX_CHANGE_H__CF7462A3_F999_11D3_A374_00105A6BCA62__INCLUDED_)