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.
31 lines
867 B
31 lines
867 B
#include "privcpp.h"
|
|
|
|
class ATL_NO_VTABLE CPackager :
|
|
public CComObjectRootEx<CComSingleThreadModel>,
|
|
public CComControl<CPackager>,
|
|
public IOleObjectImpl<CPackager>,
|
|
public IViewObjectExImpl<CPackager>,
|
|
public IDataObject,
|
|
public IPersistStorage,
|
|
public IPersistFile,
|
|
public IAdviseSink,
|
|
public IRunnableObjectImpl<CPackager>
|
|
{
|
|
BEGIN_COM_MAP(CPackager)
|
|
COM_INTERFACE_ENTRY(IOleObject)
|
|
COM_INTERFACE_ENTRY(IViewObjectEx)
|
|
COM_INTERFACE_ENTRY(IViewObject2)
|
|
COM_INTERFACE_ENTRY(IViewObject)
|
|
COM_INTERFACE_ENTRY(IDataObject)
|
|
COM_INTERFACE_ENTRY(IPersistStorage)
|
|
COM_INTERFACE_ENTRY(IPersistFile)
|
|
COM_INTERFACE_ENTRY(IAdviseSink)
|
|
COM_INTERFACE_ENTRY(IRunnableObject)
|
|
END_COM_MAP()
|
|
|
|
BEGIN_MSG_MAP(CPackager)
|
|
CHAIN_MSG_MAP(CComControl<CPackager>)
|
|
END_MSG_MAP()
|
|
};
|
|
|
|
|