LINUX: afs_create infinite fetchStatus loop
[pkg-k5-afs_openafs.git] / src / WINNT / client_exp / set_afs_acl.h
blob94e06f223e49e6e0dd4f7ddb4c66a27564ae3881
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 */
9 #include "add_acl_entry_dlg.h"
11 class CSetAfsAcl : public CDialog, public CSetACLInterface
13 CString m_strDir;
14 CString m_strCellName;
15 BOOL m_bShowingNormal;
16 CStringArray m_Normal, m_Negative;
17 BOOL m_bChanges;
18 int m_nCurSel;
20 void ShowRights(const CString& strRights);
21 CString MakeRightsString();
22 void EnablePermChanges(BOOL bEnable);
24 void OnNothingSelected();
25 void OnSelection();
27 // Construction
28 public:
29 CSetAfsAcl(CWnd* pParent = NULL); // standard constructor
31 void SetDir(const CString strDir) { m_strDir = strDir; }
33 BOOL IsNameInUse(BOOL bNormal, const CString& strName);
35 // Dialog Data
36 //{{AFX_DATA(CSetAfsAcl)
37 enum { IDD = IDD_SET_AFS_ACL };
38 CButton m_Remove;
39 CButton m_AdminPerm;
40 CButton m_LockPerm;
41 CButton m_InsertPerm;
42 CButton m_DeletePerm;
43 CButton m_LookupPerm;
44 CButton m_WritePerm;
45 CButton m_ReadPerm;
46 CStatic m_DirName;
47 CListBox m_NegativeRights;
48 CListBox m_NormalRights;
49 //}}AFX_DATA
52 // Overrides
53 // ClassWizard generated virtual function overrides
54 //{{AFX_VIRTUAL(CSetAfsAcl)
55 protected:
56 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
57 //}}AFX_VIRTUAL
59 // Implementation
60 protected:
62 // Generated message map functions
63 //{{AFX_MSG(CSetAfsAcl)
64 afx_msg void OnClear();
65 afx_msg void OnAdd();
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();
72 virtual void OnOK();
73 afx_msg void OnClean();
74 afx_msg void OnHelp();
75 //}}AFX_MSG
76 DECLARE_MESSAGE_MAP()