mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
815 B
34 lines
815 B
// 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;
|
|
}
|
|
}
|