1. zjes
  2. pynoto

Source

pynoto / src / Project / IProjectPlugin.h

#ifndef _IPROJECTPLUGIN_H_
#define _IPROJECTPLUGIN_H_
#include "Include/IPlugin.h"
#include "Include/IProject.h"

class QAction;
namespace Project {

class IProjectPlugin: public IPlugin
{
    Q_OBJECT
public:
    virtual ~IProjectPlugin(){}

    virtual QWidget  * widget(QWidget * parent) = 0;
    virtual IProject * project() = 0;
signals:
    void preferecesChanged();
public slots:
    virtual void editProperties(QWidget * parent) = 0;
};

}

Q_DECLARE_INTERFACE(Project::IProjectPlugin, "Pynoto.IProjectPlugin/1.0")

#endif