Add Dirk Luetjen's ssphys libraries and command-line tool
[vss2svn.git] / ssphys / SSAPI / VSSApp.h
blobede7db533d6c4a2b875ba32651e7392c3cb42e32
1 // VSSApp.h : Declaration of the CVSSApp
3 #ifndef __VSSAPP_H_
4 #define __VSSAPP_H_
6 #include "resource.h" // main symbols
8 /////////////////////////////////////////////////////////////////////////////
9 // CVSSApp
10 class ATL_NO_VTABLE CVSSApp :
11 public CComObjectRootEx<CComSingleThreadModel>,
12 public CComCoClass<CVSSApp, &CLSID_VSSApp>,
13 public IDispatchImpl<IVSS, &IID_IVSS, &LIBID_SourceSafeTypeLib>
15 public:
16 CVSSApp()
20 DECLARE_REGISTRY_RESOURCEID(IDR_VSSAPP)
22 DECLARE_PROTECT_FINAL_CONSTRUCT()
24 BEGIN_COM_MAP(CVSSApp)
25 COM_INTERFACE_ENTRY(IVSS)
26 //DEL COM_INTERFACE_ENTRY(IDispatch)
27 COM_INTERFACE_ENTRY2(IDispatch, IVSS)
28 END_COM_MAP()
30 // IVSS
31 public:
32 STDMETHOD(get_VSSDatabase)(/*[out, retval]*/ IVSSDatabase* *pVal);
35 #endif //__VSSAPP_H_