Leaked source code of windows server 2003
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.

40 lines
903 B

  1. // Restore.h : Declaration of the CTrkRestoreNotify
  2. #ifndef __RESTORE_H_
  3. #define __RESTORE_H_
  4. #include "resource.h" // main symbols
  5. #include <trkwks.hxx>
  6. /////////////////////////////////////////////////////////////////////////////
  7. // CTrkRestoreNotify
  8. class ATL_NO_VTABLE CTrkRestoreNotify :
  9. public CComObjectRootEx<CComMultiThreadModel>,
  10. public CComCoClass<CTrkRestoreNotify, &CLSID_TrkRestoreNotify>,
  11. public IDispatchImpl<ITrkRestoreNotify, &IID_ITrkRestoreNotify, &LIBID_ITRKADMNLib>
  12. {
  13. public:
  14. CTrkRestoreNotify()
  15. {
  16. }
  17. DECLARE_REGISTRY_RESOURCEID(IDR_RESTORE)
  18. BEGIN_COM_MAP(CTrkRestoreNotify)
  19. COM_INTERFACE_ENTRY(ITrkRestoreNotify)
  20. COM_INTERFACE_ENTRY(IDispatch)
  21. END_COM_MAP()
  22. // ITrkRestoreNotify
  23. public:
  24. STDMETHOD(OnRestore)();
  25. public:
  26. void SetMachine(const CMachineId& mcid);
  27. private:
  28. CMachineId _mcid;
  29. };
  30. #endif //__RESTORE_H_