mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-25 06:15:26 +00:00
ab27e09b91
Sometimes it is not necessary to include the whole Cutter.h file Hence, it's been splitted so you can include only what you require E.g. #include "core/CutterCommon.h" to have access to the common types
28 lines
628 B
C++
28 lines
628 B
C++
#ifndef CUTTERPLUGIN_H
|
|
#define CUTTERPLUGIN_H
|
|
|
|
class CutterPlugin;
|
|
class MainWindow;
|
|
|
|
#include "core/Cutter.h"
|
|
#include "widgets/CutterDockWidget.h"
|
|
|
|
class CutterPlugin
|
|
{
|
|
public:
|
|
virtual ~CutterPlugin() {}
|
|
virtual void setupPlugin() = 0;
|
|
virtual void setupInterface(MainWindow *main) = 0;
|
|
|
|
virtual QString getName() const = 0;
|
|
virtual QString getAuthor() const = 0;
|
|
virtual QString getDescription() const = 0;
|
|
virtual QString getVersion() const = 0;
|
|
};
|
|
|
|
#define CutterPlugin_iid "org.radare.cutter.plugins.CutterPlugin"
|
|
|
|
Q_DECLARE_INTERFACE(CutterPlugin, CutterPlugin_iid)
|
|
|
|
#endif // CUTTERPLUGIN_H
|