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.

38 lines
709 B

  1. //-----------------------------------------------------------------------------
  2. //
  3. // File: cancel.h
  4. // Copyright (C) 1994-1997 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. //
  8. //
  9. //-----------------------------------------------------------------------------
  10. #ifndef ESPUTIL_CANCEL_H
  11. #define ESPUTIL_CANCEL_H
  12. class CCancelDialog;
  13. class LTAPIENTRY CCancelableObject : public CProgressiveObject
  14. {
  15. public:
  16. CCancelableObject(void);
  17. virtual void AssertValid(void) const;
  18. virtual BOOL fCancel(void) const = 0;
  19. virtual ~CCancelableObject();
  20. };
  21. #if !defined(_DEBUG) || defined(IMPLEMENT)
  22. #include "cancel.inl"
  23. #endif
  24. #endif // ESPUTIL_CANCEL_H