IPShitlistUserTab.h
资源名称:warftpd.zip [点击查看]
上传用户:surprise9
上传日期:2007-01-04
资源大小:426k
文件大小:1k
源码类别:
Ftp客户端
开发平台:
Visual C++
- // IPShitlistUserTab.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CIPShitlistUserTab dialog
- class CIPShitlistUserTab : public CWarUserDlgTemplate
- {
- // Construction
- public:
- CIPShitlistUserTab(CWnd* pParent = NULL); // standard constructor
- void AddToList(CListCtrl& List, LPCSTR Key, CUserInfo *pUser, USER User, int Type);
- void DeleteFromList(CListCtrl& List, CEdit& Edit, LPCSTR Tag);
- ~CIPShitlistUserTab();
- // Dialog Data
- //{{AFX_DATA(CIPShitlistUserTab)
- enum { IDD = IDD_IPUDLG_TAB };
- CButton m_ctlEnableShitlist;
- //}}AFX_DATA
- CEditUserOption *m_pShitlist;
- CEditUserOption *m_pViplist;
- CEditUserOption *m_pMaxConn;
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CIPShitlistUserTab)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CIPShitlistUserTab)
- virtual BOOL OnInitDialog();
- afx_msg void OnIpaddtoshitlist();
- afx_msg void OnIpdeletefromshitlist();
- afx_msg void OnOpaddtoviplist();
- afx_msg void OnIpdeletefromviplist();
- afx_msg void OnChangeIpeditshitlist();
- afx_msg void OnChangeIpeditviplist();
- afx_msg void OnIpdisableshitlist();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- enum // bitmaps
- {
- IPB_DOMAIN,
- IPB_CLASS,
- IPB_GROUP,
- IPB_USER,
- IPB_INVALID
- };