#pragma once #include #include 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)