windows-nt/Source/XPSP1/NT/admin/hmonitor/snapin/systemeventcontainer.cpp
2020-09-26 16:20:57 +08:00

35 lines
815 B
C++

// SystemEventContainer.cpp: implementation of the CSystemEventContainer class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "snapin.h"
#include "SystemEventContainer.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
IMPLEMENT_DYNCREATE(CSystemEventContainer,CEventContainer)
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CSystemEventContainer::CSystemEventContainer()
{
m_pSystemStatusListener = NULL;
}
CSystemEventContainer::~CSystemEventContainer()
{
DeleteEvents();
if( m_pSystemStatusListener )
{
delete m_pSystemStatusListener;
m_pSystemStatusListener = NULL;
}
}