- Merged 292 changed files from dlbo snapshot - Fixed IDL enum collisions (PortType, PdmEventType) - Fixed Grantlee template for C++11 scoped enums - Fixed CMake VERSION_GREATER syntax - Added missing directories (THP, LtsRestClient, etc.) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
24 lines
574 B
C++
24 lines
574 B
C++
#pragma once
|
|
|
|
#include <QtPlugin>
|
|
#include <QWidget>
|
|
|
|
namespace LtsSession
|
|
{
|
|
class LtsSession;
|
|
}
|
|
|
|
class GuiElementInterface
|
|
{
|
|
public:
|
|
GuiElementInterface() = default;
|
|
virtual ~GuiElementInterface() = default;
|
|
virtual QString pluginName() = 0;
|
|
virtual QWidget* createGuiElement(QWidget *parent = nullptr) = 0;
|
|
virtual bool init(LtsSession::LtsSession *session, int participantId = 0) = 0;
|
|
};
|
|
|
|
// Eindeutige ID für das Qt-Plugin-System
|
|
#define IGuiElementPlugin "gui_element:3:participantInfo.guiElement"
|
|
Q_DECLARE_INTERFACE(GuiElementInterface, IGuiElementPlugin)
|