diff --git a/qt6-after/qt6-migrated-legatus/Lts/Plugins/ParticipantManagement/participant_info_gui_element_interface.h b/qt6-after/qt6-migrated-legatus/Lts/Plugins/ParticipantManagement/participant_info_gui_element_interface.h new file mode 100644 index 000000000..df06b694f --- /dev/null +++ b/qt6-after/qt6-migrated-legatus/Lts/Plugins/ParticipantManagement/participant_info_gui_element_interface.h @@ -0,0 +1,23 @@ +#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)