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

// sc
#include "LogEntryTypes.h"

namespace svn 
{
class Error;

/**
 * This interface combines subversions void *receiver_baton and
 * svn_log_message_receiver_t.
 */
class LogBaton
{
public:
  virtual ~LogBaton() {}

  virtual Error* receiveMessage( const LogEntryPtr log ) = 0;
};

} // namespace

#endif // _SVN_LOGBATON_H
