/* ====================================================================
 * Copyright (c) 2003-2006, Martin Hauner
 *                          http://subcommander.tigris.org
 *
 * Subcommander is licensed as described in the file doc/COPYING, which
 * you should have received as part of this distribution.
 * ====================================================================
 */

#ifndef _SVN_CANCELBATON_H
#define _SVN_CANCELBATON_H

namespace svn
{

/**
 * This interface combines subversions void *cancel_baton and
 * svn_cancel_func_t.
 */
class CancelBaton
{
public:
  virtual ~CancelBaton() {}

  virtual bool isCanceled() = 0;
};

} // namespace

#endif // _SVN_CANCELBATON_H

