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

// sc
#include "CustomEvents.h"
class WorkingCopyLvi;

// qt
#include <QtCore/QEvent>


class UpdateWcEvent : public QCustomEvent
{
public:
  UpdateWcEvent( WorkingCopyLvi* lvi )
    : QCustomEvent(ScUpdateWcEvent), _lvi(lvi)
  {
  }

  WorkingCopyLvi* getLvi() const
  {
    return _lvi;
  }

private:
  WorkingCopyLvi* _lvi;
};



#endif //  _SC_UPDATEWCEVENT_H

