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
1.2 KiB

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