//-----------------------------------------------------------------------------
// File: DesignWidgetFactory.h
//-----------------------------------------------------------------------------
// Project: Kactus2
// Author: Mikko Teuho
// Date: 11.02.2015
//
// Description:
// Interface for design widget factory.
//-----------------------------------------------------------------------------

#ifndef DESIGNWIDGETFACTORY_H
#define DESIGNWIDGETFACTORY_H

#include <editors/common/DesignWidget.h>

#include <KactusAPI/include/LibraryInterface.h>

//-----------------------------------------------------------------------------
//! Interface for constructing design widgets.
//-----------------------------------------------------------------------------
class DesignWidgetFactory
{
    //Q_OBJECT

public:

    /*!
     *  Destructor.
     */
    virtual ~DesignWidgetFactory() {};

    virtual DesignWidget* makeHWDesignWidget(QWidget* parent = 0) = 0;
};

#endif // DESIGNWIDGETFACTORY_H
