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.

50 lines
860 B

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name :
  4. progdlg.h
  5. Abstract:
  6. CProgressLog abstract base class. This defines the
  7. interface for progress logging.
  8. Author:
  9. Michael Cheuk (mcheuk)
  10. Project:
  11. Link Checker
  12. Revision History:
  13. --*/
  14. #ifndef _PROGLOG_H_
  15. #define _PROGLOG_H_
  16. //---------------------------------------------------------------------------
  17. // CProgressLog abstract base class. It defines the interfaces for progress
  18. // logging
  19. //
  20. class CProgressLog
  21. {
  22. // Public interfaces
  23. public:
  24. // Destructor
  25. virtual ~CProgressLog() {}
  26. // Write to log
  27. virtual void Log(const CString& strProgress) = 0;
  28. // Worker thread notification
  29. virtual void WorkerThreadComplete() = 0;
  30. }; // class CProgressLog
  31. #endif // _PROGLOG_H_