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.

49 lines
1011 B

  1. /*++
  2. Copyright (C) 1996-1999 Microsoft Corporation
  3. Module Name:
  4. PROGRESS.H
  5. History:
  6. --*/
  7. #ifndef _ESPUTIL_PROGRESS
  8. #define _ESPUTIL_PROGRESS
  9. #pragma warning(disable: 4275) // non dll-interface class 'foo' used
  10. // as base for dll-interface class 'bar'
  11. class LTAPIENTRY CProgressiveObject : virtual public CObject
  12. {
  13. public:
  14. CProgressiveObject();
  15. void AssertValid(void) const;
  16. virtual void SetProgressIndicator(UINT uiPercentage) = 0;
  17. virtual void SetDescription(HINSTANCE, DWORD);
  18. ~CProgressiveObject();
  19. virtual void SetCurrentTask(CLString const & strTask) = 0;
  20. virtual void SetDescriptionString(CLString const & strDescription) = 0;
  21. private:
  22. //
  23. // Private so nobody will use them...
  24. //
  25. CProgressiveObject(const CProgressiveObject &);
  26. const CProgressiveObject &operator=(const CProgressiveObject &);
  27. };
  28. #pragma warning(default: 4275)
  29. #if !defined(_DEBUG) || defined(IMPLEMENT)
  30. #include "progress.inl"
  31. #endif
  32. #endif