cutter/src/plugins/CutterPlugin.h

31 lines
581 B
C
Raw Normal View History

#ifndef CUTTERPLUGIN_H
#define CUTTERPLUGIN_H
class CutterPlugin;
class MainWindow;
#include "Cutter.h"
#include "widgets/CutterDockWidget.h"
class CutterPlugin
{
public:
virtual ~CutterPlugin() {}
virtual void setupPlugin(CutterCore *core) = 0;
virtual void setupInterface(MainWindow *main) = 0;
QString name;
QString description;
QString version;
QString author;
protected:
CutterCore *core;
};
#define CutterPlugin_iid "org.radare.cutter.plugins.CutterPlugin"
Q_DECLARE_INTERFACE(CutterPlugin, CutterPlugin_iid)
#endif // CUTTERPLUGIN_H