2020-12-11 23:53:32 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <QtPlugin>
|
2020-12-15 00:44:48 +00:00
|
|
|
#include <QLabel>
|
2020-12-12 23:59:34 +00:00
|
|
|
#include "Dependencies/ResourceManager.h"
|
2020-12-11 23:53:32 +00:00
|
|
|
|
|
|
|
|
class QString;
|
|
|
|
|
#define ORGBPluginInterface_IID "com.ORGBPluginInterface"
|
|
|
|
|
|
|
|
|
|
class ORGBPluginInterface
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
virtual ~ORGBPluginInterface() {}
|
|
|
|
|
|
2020-12-17 14:42:24 +00:00
|
|
|
virtual bool HasCustomIcon() = 0;
|
|
|
|
|
virtual QLabel* TabLabel() = 0;
|
2020-12-15 00:44:48 +00:00
|
|
|
|
2020-12-17 14:42:24 +00:00
|
|
|
virtual std::string PluginName() = 0;
|
|
|
|
|
virtual std::string PluginDesc() = 0;
|
|
|
|
|
virtual std::string PluginLocal() = 0;
|
2020-12-12 17:39:01 +00:00
|
|
|
|
2020-12-17 14:42:24 +00:00
|
|
|
virtual QWidget* CreateGUI(QWidget *Parent, ResourceManager *RM = nullptr) = 0;
|
2020-12-11 23:53:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
Q_DECLARE_INTERFACE(ORGBPluginInterface, ORGBPluginInterface_IID)
|