42 lines
736 B
C++
42 lines
736 B
C++
//-----------------------------------------------------------------------------
|
|
|
|
//
|
|
|
|
// File: cancel.h
|
|
|
|
// Copyright (c) 1994-2001 Microsoft Corporation, All Rights Reserved
|
|
// All rights reserved.
|
|
//
|
|
//
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
#ifndef ESPUTIL_CANCEL_H
|
|
#define ESPUTIL_CANCEL_H
|
|
|
|
|
|
|
|
class CCancelDialog;
|
|
|
|
class LTAPIENTRY CCancelableObject : public CProgressiveObject
|
|
{
|
|
public:
|
|
CCancelableObject(void);
|
|
|
|
virtual void AssertValid(void) const;
|
|
|
|
virtual BOOL fCancel(void) const = 0;
|
|
|
|
virtual ~CCancelableObject();
|
|
};
|
|
|
|
|
|
|
|
#if !defined(_DEBUG) || defined(IMPLEMENT)
|
|
#include "cancel.inl"
|
|
#endif
|
|
|
|
#endif // ESPUTIL_CANCEL_H
|
|
|