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

// sc
#include "CustomEvents.h"

// svn
#include "svn/BlameLineTypes.h"

// qt
#include <QtCore/QEvent>


class BlameEvent : public QCustomEvent
{
public:
  BlameEvent( svn::BlameLinePtr line ) : QCustomEvent(ScBlameEvent), _line(line)
  {
  }

  svn::BlameLinePtr getLine() const
  {
    return _line;
  }

private:
  svn::BlameLinePtr _line;
};

#endif //  _SC_BLAMEEVENT_H
