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.

34 lines
1.0 KiB

  1. /************************************************************************************************
  2. Copyright (c) 2001 Microsoft Corporation
  3. Module Name: POP3Svc.hxx.
  4. Abstract: Declares the CPop3Svc class.
  5. Notes:
  6. History:
  7. ************************************************************************************************/
  8. #pragma once
  9. #include "Service.h"
  10. class CPop3Svc : public CService
  11. {
  12. public:
  13. CPop3Svc(LPCTSTR szName, LPCTSTR szDisplay, DWORD dwType);
  14. DECLARE_SERVICE(CPop3Svc, POP3SVC);
  15. virtual void Run();
  16. protected:
  17. void ErrorHandler(LPCTSTR szFunctionName, DWORD dwErrorNum = GetLastError(), bool bAbortService = true);
  18. // service-flow related, overrided from CService
  19. virtual void PreInit();
  20. virtual void DeInit();
  21. virtual void OnPause();
  22. virtual void OnContinueRequest();
  23. virtual void OnAfterStart();
  24. virtual void OnStopRequest();
  25. virtual void OnStop(DWORD dwErrorCode);
  26. };
  27. // End of file POP3Svc.hxx.