00001 /* 00002 Free Download Manager Copyright (c) 2003-2007 FreeDownloadManager.ORG 00003 Open Download Manager Copyright (c) 2008-2010 OpenDownloadManager.ORG 00004 */ 00005 00006 #include "stdafx.h" 00007 #include "FdmApp.h" 00008 #include "HFE_Log.h" 00009 #include "HFEWnd.h" 00010 00011 #ifdef _DEBUG 00012 #define new DEBUG_NEW 00013 #undef THIS_FILE 00014 static char THIS_FILE[] = __FILE__; 00015 #endif 00016 00017 extern CHFEWnd* _pwndHFE; 00018 00019 CHFE_Log::CHFE_Log() 00020 { 00021 } 00022 00023 CHFE_Log::~CHFE_Log() 00024 { 00025 } 00026 00027 BEGIN_MESSAGE_MAP(CHFE_Log, CWndLog) 00028 //{{AFX_MSG_MAP(CHFE_Log) 00029 ON_COMMAND (ID_CLEAR, OnClear) 00030 //}}AFX_MSG_MAP 00031 END_MESSAGE_MAP() 00032 00033 void CHFE_Log::OnClear() 00034 { 00035 CWndLog::OnClear (); 00036 _pwndHFE->m_evMgr.clear (); 00037 } 00038 00039 BOOL CHFE_Log::Create(CWnd *pParent) 00040 { 00041 if (!CWndLog::Create (pParent)) 00042 return FALSE; 00043 00044 ReadState ("HFELog"); 00045 00046 return TRUE; 00047 }
1.5.6