/* ====================================================================
 * 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 _SC_CANCEL_H
#define _SC_CANCEL_H

// sc
#include "svn/CancelBaton.h"
#include "util/Mutex.h"


class Cancel : public svn::CancelBaton
{
public:
  Cancel();

  // CancelBaton
  bool isCanceled();
  void setCanceled();

private:
  sc::Mutex _mutex;
  bool      _canceled;
};


#endif //  _SC_CANCEL_H
