/* ====================================================================
 * Copyright (c) 2007-2008  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_RPVIEW_H
#define _SC_RPVIEW_H

// sc
#include "util/Id.h"
class RpViewModel;
class ActionStorage;

// qt
#include <QtGui/QWidget>


class RpView : public QWidget
{
  typedef QWidget super;
  Q_OBJECT

public:
  RpView( ID id, RpViewModel* model, ActionStorage* actions, QWidget*
    parent );

  ID getId() const;

private:
  ID           _id;
  RpViewModel* _model;
};

#endif // _SC_RPVIEW_H
