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

// sc
#include "CustomEvents.h"
#include "svn/LogEntryTypes.h"

// qt
#include <QtCore/QEvent>


class LogEvent : public QCustomEvent
{
public:
  LogEvent( const svn::LogEntryPtr log ) : QCustomEvent(ScLogEvent), _log(log)
  {
  }

  const svn::LogEntryPtr getLog() const
  {
    return _log;
  }

private:
  const svn::LogEntryPtr _log;
};

#endif //  _SC_LOGEVENT_H
