// ShutdownSite.h: interface for the CShutdownSite class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_SHUTDOWNSITE_H__F3AF1F43_93A1_11D3_BFC3_0020182B97FC__INCLUDED_) #define AFX_SHUTDOWNSITE_H__F3AF1F43_93A1_11D3_BFC3_0020182B97FC__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include "shutdown.h" #include "../common/interfaces.h" #include "logdlg.h" #include "ItemDlg.h" #include "ShutdownCP.h" class ATL_NO_VTABLE CShutdownSite : public CComObjectRootEx, public IDispatchImpl, public INightSecErrorLog, public CProxyDShutdownEvents, public IConnectionPointContainerImpl { public: CShutdownSite(); virtual ~CShutdownSite(); void SetSite(); void ClearSite(); DECLARE_PROTECT_FINAL_CONSTRUCT() BEGIN_COM_MAP(CShutdownSite) COM_INTERFACE_ENTRY(IDispatch) COM_INTERFACE_ENTRY(INightSecSiteInfo) COM_INTERFACE_ENTRY(INightSecErrorLog) COM_INTERFACE_ENTRY_IMPL(IConnectionPointContainer) END_COM_MAP() BEGIN_CONNECTION_POINT_MAP(CShutdownSite) CONNECTION_POINT_ENTRY(DIID_DShutdownEvents) END_CONNECTION_POINT_MAP() // INightSecSiteInfo STDMETHOD(get_Info)(/*[in]*/ NightSecSiteInfo nsItem, /*[out, retval]*/ VARIANT* pvVal) { ::VariantClear(pvVal); return S_FALSE; } // INightSecErrorLog STDMETHOD(AddError)(/*[in]*/ IUnknown* pUnk); STDMETHOD(HasErrors)(/*[out, retval]*/ BOOL* pbRet); // Data public: CLogDlg m_log; CItemDlg m_dlgItems; }; #endif // !defined(AFX_SHUTDOWNSITE_H__F3AF1F43_93A1_11D3_BFC3_0020182B97FC__INCLUDED_)