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 #include "add_acl_entry_dlg.h"
11 class CSetAfsAcl
: public CDialog
, public CSetACLInterface
14 CString m_strCellName
;
15 BOOL m_bShowingNormal
;
16 CStringArray m_Normal
, m_Negative
;
20 void ShowRights(const CString
& strRights
);
21 CString
MakeRightsString();
22 void EnablePermChanges(BOOL bEnable
);
24 void OnNothingSelected();
29 CSetAfsAcl(CWnd
* pParent
= NULL
); // standard constructor
31 void SetDir(const CString strDir
) { m_strDir
= strDir
; }
33 BOOL
IsNameInUse(BOOL bNormal
, const CString
& strName
);
36 //{{AFX_DATA(CSetAfsAcl)
37 enum { IDD
= IDD_SET_AFS_ACL
};
47 CListBox m_NegativeRights
;
48 CListBox m_NormalRights
;
53 // ClassWizard generated virtual function overrides
54 //{{AFX_VIRTUAL(CSetAfsAcl)
56 virtual void DoDataExchange(CDataExchange
* pDX
); // DDX/DDV support
62 // Generated message map functions
63 //{{AFX_MSG(CSetAfsAcl)
64 afx_msg
void OnClear();
66 afx_msg
void OnCopy();
67 virtual BOOL
OnInitDialog();
68 afx_msg
void OnSelChangeNormalRights();
69 afx_msg
void OnSelChangeNegativeEntries();
70 afx_msg
void OnPermChange();
71 afx_msg
void OnRemove();
73 afx_msg
void OnClean();
74 afx_msg
void OnHelp();