pynoto / src / Project / IProjectPlugin.h

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

class QAction;
namespace Main {class IApplicationOutput;}
namespace Project {

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

    virtual QWidget  * widget(QWidget * parent) = 0;
    virtual IProject * project() = 0;
signals:
    void preferecesChanged();
    void runned();
    void stoped();
    void output(const QString& msg);
    void error(const QString& msg);
public slots:
    virtual void editProperties(QWidget * parent) = 0;
    virtual void createNewProject(QWidget *parent) = 0;
    virtual void run() = 0;
    virtual void stop() = 0;
};

}

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

#endif
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.