2 * Copyright 2000, International Business Machines Corporation and others.
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
9 #ifndef __ADD_ACL_ENTRY_DLG_H__
10 #define __ADD_ACL_ENTRY_DLG_H__
12 class CSetACLInterface
15 virtual BOOL IsNameInUse(BOOL bNormal, const CString& strName) = 0;
18 /////////////////////////////////////////////////////////////////////////////
19 // CAddAclEntryDlg dialog
21 class CAddAclEntryDlg : public CDialog
26 CSetACLInterface *m_pAclSetDlg;
28 CString MakePermString();
32 CAddAclEntryDlg(CWnd* pParent = NULL); // standard constructor
34 void SetAclDlg(CSetACLInterface *pAclSetDlg) { m_pAclSetDlg = pAclSetDlg; }
36 CString GetName() { return m_strName; }
37 CString GetRights() { return m_Rights; }
38 BOOL IsNormal() { return m_bNormal; }
41 //{{AFX_DATA(CAddAclEntryDlg)
42 enum { IDD = IDD_ADD_ACL };
45 CButton m_NormalEntry;
56 // ClassWizard generated virtual function overrides
57 //{{AFX_VIRTUAL(CAddAclEntryDlg)
59 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
65 // Generated message map functions
66 //{{AFX_MSG(CAddAclEntryDlg)
67 afx_msg void OnAddNegativeEntry();
68 afx_msg void OnAddNormalEntry();
69 virtual BOOL OnInitDialog();
71 afx_msg void OnChangeName();
72 afx_msg void OnHelp();