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

DlgSecureRule.h

Go to the documentation of this file.
00001 //
00002 // DlgSecureRule.h
00003 //
00004 // Copyright (c) Shareaza Development Team, 2002-2005.
00005 // This file is part of SHAREAZA (www.shareaza.com)
00006 //
00007 // Shareaza is free software; you can redistribute it
00008 // and/or modify it under the terms of the GNU General Public License
00009 // as published by the Free Software Foundation; either version 2 of
00010 // the License, or (at your option) any later version.
00011 //
00012 // Shareaza is distributed in the hope that it will be useful,
00013 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015 // GNU General Public License for more details.
00016 //
00017 // You should have received a copy of the GNU General Public License
00018 // along with Shareaza; if not, write to the Free Software
00019 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00020 //
00021 
00022 #if !defined(AFX_DLGSECURERULE_H__1919626B_533C_474B_9CE3_933ECDEAA0F0__INCLUDED_)
00023 #define AFX_DLGSECURERULE_H__1919626B_533C_474B_9CE3_933ECDEAA0F0__INCLUDED_
00024 
00025 #pragma once
00026 
00027 #include "DlgSkinDialog.h"
00028 
00029 class CSecureRule;
00030 
00031 
00032 class CSecureRuleDlg : public CSkinDialog
00033 {
00034 // Construction
00035 public:
00036         CSecureRuleDlg(CWnd* pParent = NULL, CSecureRule* pRule = NULL);
00037         virtual ~CSecureRuleDlg();
00038 
00039 // Dialog Data
00040 public:
00041         //{{AFX_DATA(CSecureRuleDlg)
00042         enum { IDD = IDD_SECURE_RULE };
00043         CEdit   m_wndContent;
00044         CButton m_wndGroupContent;
00045         CButton m_wndGroupNetwork;
00046         CEdit   m_wndExpireM;
00047         CEdit   m_wndExpireH;
00048         CEdit   m_wndExpireD;
00049         CEdit   m_wndMask4;
00050         CEdit   m_wndMask3;
00051         CEdit   m_wndMask2;
00052         CEdit   m_wndMask1;
00053         CEdit   m_wndIP4;
00054         CEdit   m_wndIP3;
00055         CEdit   m_wndIP2;
00056         CEdit   m_wndIP1;
00057         int             m_nExpireD;
00058         int             m_nExpireH;
00059         int             m_nExpireM;
00060         int             m_nAction;
00061         int             m_nExpire;
00062         CString m_sComment;
00063         int             m_nType;
00064         CString m_sContent;
00065         int             m_nMatch;
00066         //}}AFX_DATA
00067 
00068         CSecureRule*    m_pRule;
00069         BOOL                    m_bNew;
00070 
00071         void    ShowGroup(CWnd* pWnd, BOOL bShow);
00072 
00073 // Overrides
00074 public:
00075         //{{AFX_VIRTUAL(CSecureRuleDlg)
00076         public:
00077         virtual BOOL PreTranslateMessage(MSG* pMsg);
00078         protected:
00079         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
00080         //}}AFX_VIRTUAL
00081 
00082 // Implementation
00083 protected:
00084         //{{AFX_MSG(CSecureRuleDlg)
00085         virtual BOOL OnInitDialog();
00086         virtual void OnOK();
00087         afx_msg void OnSelChangeRuleExpire();
00088         afx_msg void OnSelChangeRuleType();
00089         //}}AFX_MSG
00090         DECLARE_MESSAGE_MAP()
00091 
00092 };
00093 
00094 //{{AFX_INSERT_LOCATION}}
00095 
00096 #endif // !defined(AFX_DLGSECURERULE_H__1919626B_533C_474B_9CE3_933ECDEAA0F0__INCLUDED_)

Generated on Thu Dec 15 10:39:39 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2