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.

40 lines
532 B

  1. /*++
  2. Copyright (C) 1996-1999 Microsoft Corporation
  3. Module Name:
  4. CANCEL.H
  5. History:
  6. --*/
  7. #ifndef ESPUTIL_CANCEL_H
  8. #define ESPUTIL_CANCEL_H
  9. class CCancelDialog;
  10. class LTAPIENTRY CCancelableObject : public CProgressiveObject
  11. {
  12. public:
  13. CCancelableObject(void);
  14. virtual void AssertValid(void) const;
  15. virtual BOOL fCancel(void) const = 0;
  16. virtual ~CCancelableObject();
  17. };
  18. #if !defined(_DEBUG) || defined(IMPLEMENT)
  19. #include "cancel.inl"
  20. #endif
  21. #endif // ESPUTIL_CANCEL_H