- cmake/FindRTI.cmake: Add INTERFACE placeholder targets when RTI not found - cmake/FindRTI.cmake: Force BUILD_RTI=OFF when RTI not installed - Lts/Common/LtsSession/CMakeLists.txt: Make LtsSessionDataDds conditional on BUILD_RTI - Lts/Viewer/CMakeLists.txt: Make LtsDataView conditional on BUILD_RTI - Lts/Plugins/*/CMakeLists.txt: 97 plugin files wrapped in BUILD_RTI conditionals - cmake/NGLMacros.cmake: Fix NGL_ADD_BIG_RESOURCES macro (removed premature return()) - Multiple Qt6 API fixes: QLinkedList→std::list, QStringRef→QStringView, etc. - BUILD_RTI_FIXES_SUMMARY.md: Comprehensive documentation of all fixes Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
56 lines
1.3 KiB
C++
Executable File
56 lines
1.3 KiB
C++
Executable File
|
|
|
|
|
|
#pragma once
|
|
|
|
#include <PluginInterfaces/gui_plugin_interface.h>
|
|
#include <Lts/Common/ProjectConfig/project_defines.h>
|
|
#include <ParticipantManagement/ppm.hpp>
|
|
#include <AssetManagement/asm_dtc.h>
|
|
#include <QPointer>
|
|
|
|
class QProcess;
|
|
namespace SAAInterfaceAdapterAdler
|
|
{
|
|
|
|
class GuiPlugin final : public QObject, public GuiPluginBase::Plugin
|
|
{
|
|
Q_PLUGIN_METADATA(IID "gui:3:saa")
|
|
Q_INTERFACES(GuiPluginBase::Plugin)
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit GuiPlugin() = default;
|
|
~GuiPlugin() = default;
|
|
|
|
QString pluginName() override { return QStringLiteral("SAAInterfaceAdapterAdlerGuiPlugin"); }
|
|
std::shared_ptr<GuiPluginBase::Interface> createGuiInterface(LtsSession::LtsSession *session) override;
|
|
bool availableInPartition(IDL::PartitionType partition) const override { return partition==IDL::PartitionType::Exercise; }
|
|
};
|
|
|
|
|
|
class InterfaceImpl final : public QObject, public GuiPluginBase::Interface
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit InterfaceImpl(LtsSession::LtsSession *session);
|
|
|
|
QVector<LtsWidgets::PluginData> getActions() override;
|
|
QString menuGroup() const override { return tr("SAA"); }
|
|
|
|
bool fetchInterfaces() override;
|
|
void clearInterfaces() override;
|
|
|
|
private slots:
|
|
LtsWidgets::LtsDialog *onShowSaaChooser(QWidget *parent);
|
|
|
|
Q_SIGNALS:
|
|
void signalSuccess();
|
|
private:
|
|
std::shared_ptr<AssetManagement::Interface::Dtc> m_asmDtc;
|
|
|
|
};
|
|
|
|
}
|