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
10 class CSetAfsAcl : public CDialog
13 CString m_strCellName;
14 BOOL m_bShowingNormal;
15 CStringArray m_Normal, m_Negative;
19 void ShowRights(const CString& strRights);
20 CString MakeRightsString();
21 void EnablePermChanges(BOOL bEnable);
23 void OnNothingSelected();
28 CSetAfsAcl(CWnd* pParent = NULL); // standard constructor
30 void SetDir(const CString strDir) { m_strDir = strDir; }
32 BOOL IsNameInUse(BOOL bNormal, const CString& strName);
35 //{{AFX_DATA(CSetAfsAcl)
36 enum { IDD = IDD_SET_AFS_ACL };
46 CListBox m_NegativeRights;
47 CListBox m_NormalRights;
52 // ClassWizard generated virtual function overrides
53 //{{AFX_VIRTUAL(CSetAfsAcl)
55 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
61 // Generated message map functions
62 //{{AFX_MSG(CSetAfsAcl)
63 afx_msg void OnClear();
65 afx_msg void OnCopy();
66 virtual BOOL OnInitDialog();
67 afx_msg void OnSelChangeNormalRights();
68 afx_msg void OnSelChangeNegativeEntries();
69 afx_msg void OnPermChange();
70 afx_msg void OnRemove();
72 afx_msg void OnClean();
73 afx_msg void OnHelp();