Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

CSecureRuleDlg Class Reference

#include <DlgSecureRule.h>

Inheritance diagram for CSecureRuleDlg:

CSkinDialog List of all members.

Public Types

enum  { IDD = IDD_SECURE_RULE }

Public Member Functions

 CSecureRuleDlg (CWnd *pParent=NULL, CSecureRule *pRule=NULL)
virtual ~CSecureRuleDlg ()
void ShowGroup (CWnd *pWnd, BOOL bShow)
virtual BOOL PreTranslateMessage (MSG *pMsg)

Public Attributes

CEdit m_wndContent
CButton m_wndGroupContent
CButton m_wndGroupNetwork
CEdit m_wndExpireM
CEdit m_wndExpireH
CEdit m_wndExpireD
CEdit m_wndMask4
CEdit m_wndMask3
CEdit m_wndMask2
CEdit m_wndMask1
CEdit m_wndIP4
CEdit m_wndIP3
CEdit m_wndIP2
CEdit m_wndIP1
int m_nExpireD
int m_nExpireH
int m_nExpireM
int m_nAction
int m_nExpire
CString m_sComment
int m_nType
CString m_sContent
int m_nMatch
CSecureRulem_pRule
BOOL m_bNew

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnInitDialog ()
virtual void OnOK ()
afx_msg void OnSelChangeRuleExpire ()
afx_msg void OnSelChangeRuleType ()

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
IDD 

Definition at line 42 of file DlgSecureRule.h.


Constructor & Destructor Documentation

CSecureRuleDlg::CSecureRuleDlg CWnd *  pParent = NULL,
CSecureRule pRule = NULL
 

Definition at line 47 of file DlgSecureRule.cpp.

CSecureRuleDlg::~CSecureRuleDlg  )  [virtual]
 

Definition at line 64 of file DlgSecureRule.cpp.

References m_bNew, and m_pRule.


Member Function Documentation

void CSecureRuleDlg::DoDataExchange CDataExchange *  pDX  )  [protected, virtual]
 

Reimplemented from CSkinDialog.

Definition at line 69 of file DlgSecureRule.cpp.

References CSkinDialog::DoDataExchange(), IDC_EXPIRE_D, IDC_EXPIRE_H, IDC_EXPIRE_M, IDC_GROUP_CONTENT, IDC_GROUP_NETWORK, IDC_IP_1, IDC_IP_2, IDC_IP_3, IDC_IP_4, IDC_MASK_1, IDC_MASK_2, IDC_MASK_3, IDC_MASK_4, IDC_RULE_ACTION, IDC_RULE_COMMENT, IDC_RULE_CONTENT, IDC_RULE_EXPIRE, IDC_RULE_MATCH_0, IDC_RULE_TYPE, m_nAction, m_nExpire, m_nExpireD, m_nExpireH, m_nExpireM, m_nMatch, m_nType, m_sComment, m_sContent, m_wndContent, m_wndExpireD, m_wndExpireH, m_wndExpireM, m_wndGroupContent, m_wndGroupNetwork, m_wndIP1, m_wndIP2, m_wndIP3, m_wndIP4, m_wndMask1, m_wndMask2, m_wndMask3, and m_wndMask4.

BOOL CSecureRuleDlg::OnInitDialog  )  [protected, virtual]
 

Reimplemented from CSkinDialog.

Definition at line 102 of file DlgSecureRule.cpp.

References CSecurity::Check(), CSecureRule::GetContentWords(), IDR_SECURITYFRAME, m_bNew, CSecureRule::m_nAction, m_nAction, CSecureRule::m_nExpire, m_nExpire, m_nExpireD, m_nExpireH, m_nExpireM, CSecureRule::m_nIP, CSecureRule::m_nMask, m_nMatch, CSecureRule::m_nType, m_nType, m_pRule, CNetwork::m_pSection, CSecureRule::m_sComment, m_sComment, m_sContent, m_wndIP1, m_wndIP2, m_wndIP3, m_wndIP4, m_wndMask1, m_wndMask2, m_wndMask3, m_wndMask4, Network, NULL, CSkinDialog::OnInitDialog(), OnSelChangeRuleExpire(), OnSelChangeRuleType(), Security, CSkinDialog::SkinMe(), CSecureRule::srAddress, and CSecureRule::srContent.

void CSecureRuleDlg::OnOK  )  [protected, virtual]
 

Definition at line 258 of file DlgSecureRule.cpp.

References CSecurity::Add(), CSecurity::Check(), m_bNew, m_nAction, CSecureRule::m_nAction, m_nExpire, CSecureRule::m_nExpire, m_nExpireD, m_nExpireH, m_nExpireM, CSecureRule::m_nIP, CSecureRule::m_nMask, m_nMatch, m_nType, CSecureRule::m_nType, m_pRule, CNetwork::m_pSection, m_sComment, CSecureRule::m_sComment, m_sContent, m_wndIP1, m_wndIP2, m_wndIP3, m_wndIP4, m_wndMask1, m_wndMask2, m_wndMask3, m_wndMask4, Network, NULL, Security, CSecureRule::SetContentWords(), CSecureRule::srAddress, and CSecureRule::srContent.

void CSecureRuleDlg::OnSelChangeRuleExpire  )  [protected]
 

Definition at line 199 of file DlgSecureRule.cpp.

References m_nExpire, m_wndExpireD, m_wndExpireH, and m_wndExpireM.

Referenced by OnInitDialog().

void CSecureRuleDlg::OnSelChangeRuleType  )  [protected]
 

Definition at line 180 of file DlgSecureRule.cpp.

References m_nType, m_wndContent, m_wndGroupContent, m_wndGroupNetwork, m_wndIP1, ShowGroup(), CSecureRule::srAddress, and CSecureRule::srContent.

Referenced by OnInitDialog().

BOOL CSecureRuleDlg::PreTranslateMessage MSG *  pMsg  )  [virtual]
 

Definition at line 207 of file DlgSecureRule.cpp.

References m_wndIP1, m_wndIP2, m_wndIP3, m_wndIP4, m_wndMask1, m_wndMask2, m_wndMask3, and m_wndMask4.

void CSecureRuleDlg::ShowGroup CWnd *  pWnd,
BOOL  bShow
 

Definition at line 166 of file DlgSecureRule.cpp.

References IDC_RULE_MATCH_0.

Referenced by OnSelChangeRuleType().


Member Data Documentation

BOOL CSecureRuleDlg::m_bNew
 

Definition at line 69 of file DlgSecureRule.h.

Referenced by OnInitDialog(), OnOK(), and ~CSecureRuleDlg().

int CSecureRuleDlg::m_nAction
 

Definition at line 60 of file DlgSecureRule.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

int CSecureRuleDlg::m_nExpire
 

Definition at line 61 of file DlgSecureRule.h.

Referenced by DoDataExchange(), OnInitDialog(), OnOK(), and OnSelChangeRuleExpire().

int CSecureRuleDlg::m_nExpireD
 

Definition at line 57 of file DlgSecureRule.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

int CSecureRuleDlg::m_nExpireH
 

Definition at line 58 of file DlgSecureRule.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

int CSecureRuleDlg::m_nExpireM
 

Definition at line 59 of file DlgSecureRule.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

int CSecureRuleDlg::m_nMatch
 

Definition at line 65 of file DlgSecureRule.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

int CSecureRuleDlg::m_nType
 

Definition at line 63 of file DlgSecureRule.h.

Referenced by DoDataExchange(), OnInitDialog(), OnOK(), and OnSelChangeRuleType().

CSecureRule* CSecureRuleDlg::m_pRule
 

Definition at line 68 of file DlgSecureRule.h.

Referenced by OnInitDialog(), OnOK(), and ~CSecureRuleDlg().

CString CSecureRuleDlg::m_sComment
 

Definition at line 62 of file DlgSecureRule.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

CString CSecureRuleDlg::m_sContent
 

Definition at line 64 of file DlgSecureRule.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

CEdit CSecureRuleDlg::m_wndContent
 

Definition at line 43 of file DlgSecureRule.h.

Referenced by DoDataExchange(), and OnSelChangeRuleType().

CEdit CSecureRuleDlg::m_wndExpireD
 

Definition at line 48 of file DlgSecureRule.h.

Referenced by DoDataExchange(), and OnSelChangeRuleExpire().

CEdit CSecureRuleDlg::m_wndExpireH
 

Definition at line 47 of file DlgSecureRule.h.

Referenced by DoDataExchange(), and OnSelChangeRuleExpire().

CEdit CSecureRuleDlg::m_wndExpireM
 

Definition at line 46 of file DlgSecureRule.h.

Referenced by DoDataExchange(), and OnSelChangeRuleExpire().

CButton CSecureRuleDlg::m_wndGroupContent
 

Definition at line 44 of file DlgSecureRule.h.

Referenced by DoDataExchange(), and OnSelChangeRuleType().

CButton CSecureRuleDlg::m_wndGroupNetwork
 

Definition at line 45 of file DlgSecureRule.h.

Referenced by DoDataExchange(), and OnSelChangeRuleType().

CEdit CSecureRuleDlg::m_wndIP1
 

Definition at line 56 of file DlgSecureRule.h.

Referenced by DoDataExchange(), OnInitDialog(), OnOK(), OnSelChangeRuleType(), and PreTranslateMessage().

CEdit CSecureRuleDlg::m_wndIP2
 

Definition at line 55 of file DlgSecureRule.h.

Referenced by DoDataExchange(), OnInitDialog(), OnOK(), and PreTranslateMessage().

CEdit CSecureRuleDlg::m_wndIP3
 

Definition at line 54 of file DlgSecureRule.h.

Referenced by DoDataExchange(), OnInitDialog(), OnOK(), and PreTranslateMessage().

CEdit CSecureRuleDlg::m_wndIP4
 

Definition at line 53 of file DlgSecureRule.h.

Referenced by DoDataExchange(), OnInitDialog(), OnOK(), and PreTranslateMessage().

CEdit CSecureRuleDlg::m_wndMask1
 

Definition at line 52 of file DlgSecureRule.h.

Referenced by DoDataExchange(), OnInitDialog(), OnOK(), and PreTranslateMessage().

CEdit CSecureRuleDlg::m_wndMask2
 

Definition at line 51 of file DlgSecureRule.h.

Referenced by DoDataExchange(), OnInitDialog(), OnOK(), and PreTranslateMessage().

CEdit CSecureRuleDlg::m_wndMask3
 

Definition at line 50 of file DlgSecureRule.h.

Referenced by DoDataExchange(), OnInitDialog(), OnOK(), and PreTranslateMessage().

CEdit CSecureRuleDlg::m_wndMask4
 

Definition at line 49 of file DlgSecureRule.h.

Referenced by DoDataExchange(), OnInitDialog(), OnOK(), and PreTranslateMessage().


The documentation for this class was generated from the following files:
Generated on Thu Dec 15 10:40:11 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2