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.

60 lines
1.1 KiB

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. FaxIncomingJob.h
  5. Abstract:
  6. Declaration of CFaxIncomingJob Class
  7. Author:
  8. Iv Garber (IvG) May, 2000
  9. Revision History:
  10. --*/
  11. #ifndef __FAXINCOMINGJOB_H_
  12. #define __FAXINCOMINGJOB_H_
  13. #include "resource.h" // main symbols
  14. #include "FaxJobInner.h"
  15. //
  16. //===================== FAX INCOMING JOB ================================================
  17. //
  18. class ATL_NO_VTABLE CFaxIncomingJob :
  19. public CComObjectRootEx<CComSingleThreadModel>,
  20. public ISupportErrorInfo,
  21. public CFaxJobInner<IFaxIncomingJob, &IID_IFaxIncomingJob, &CLSID_FaxIncomingJob>
  22. {
  23. public:
  24. CFaxIncomingJob()
  25. {
  26. }
  27. DECLARE_REGISTRY_RESOURCEID(IDR_FAXINCOMINGJOB)
  28. DECLARE_NOT_AGGREGATABLE(CFaxIncomingJob)
  29. DECLARE_PROTECT_FINAL_CONSTRUCT()
  30. BEGIN_COM_MAP(CFaxIncomingJob)
  31. COM_INTERFACE_ENTRY(IFaxIncomingJob)
  32. COM_INTERFACE_ENTRY(IDispatch)
  33. COM_INTERFACE_ENTRY(ISupportErrorInfo)
  34. END_COM_MAP()
  35. // Interfaces
  36. STDMETHOD(InterfaceSupportsErrorInfo)(REFIID riid);
  37. // Internal Use
  38. static HRESULT Create(IFaxIncomingJob **ppIncomingJob);
  39. };
  40. #endif //__FAXINCOMINGJOB_H_