www.pudn.com > 费尔防火墙源代码.zip > MainSheet.h


#if !defined(MAINSHEET_H) 
#define MAINSHEET_H 
 
#include "PacketMonitor.h" 
#include "LogQuery.h" 
#include "About.h" 
#include "Acl.h" 
#include "SystemSet.h" 
 
//============================================================================================= 
// CMainSheet 
 
class CMainSheet : public CPropertySheet 
{ 
	DECLARE_DYNAMIC(CMainSheet) 
 
// Construction 
public: 
	CMainSheet(UINT nIDCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0); 
	CMainSheet(LPCTSTR pszCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0); 
 
// Attributes 
public: 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CMainSheet) 
	public: 
	virtual BOOL OnInitDialog(); 
	virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	virtual ~CMainSheet(); 
 
protected: 
	//{{AFX_MSG(CMainSheet) 
	afx_msg void OnPaint(); 
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
//owner add 
public: 
	void SetLogoFont( 
		IN	CString Name, 
		IN	int nHeight		= 24, 
		IN	int nWeight		= FW_BOLD, 
		IN	BYTE bItalic	= true, 
		IN	BYTE bUnderline = false 
		); 
 
	CFont		m_FontLogo; 
	CString		m_LogoText; 
	void		SetLogoText(CString Text); 
	void		InitDlgResource(); 
 
public: 
	BOOL	OnApply(); 
	void	OnCancel(); 
 
	CLogQuery		m_LogQuery; 
	CPacketMonitor	m_PacketMonitor; 
	CAcl			m_Acl; 
	CSystemSet		m_SystemSet; 
	CAbout			m_About; 
}; 
 
//============================================================================================= 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_MAINSHEET_H__EB0E5A52_9A6E_4D40_AC1D_ED13D65C4228__INCLUDED_)