Bring the validation-scope line (in-tree Jenkins CI copy, lcov coverage wiring, step-by-step release-scope README, TetraIF unit tests, the LogView runtime icon/resource fix, Dockerfile, rpmbuild and the new_docker_build.sh driver with the DEB output path) on top of the XmlPatterns branch pruned to the Release 2 scope. Conflict policy: - Out-of-scope targets/modules: keep the prune (deletion wins). - In-scope files that validation had deleted: restored from story/release-2-cleanup (the Release 2 closure, with the pruned-module guards). - In-scope sources carrying migration work: XmlPatterns versions (Qt XmlPatterns rework on QDomDocument, DDS member and logger fixes, first-build fixes). - Scope-aware CMakeLists (top level, PluginInterfaces, LtsWidgets) and .envrc: story/release-2-cleanup / ours versions.
52 lines
1.1 KiB
C++
Executable File
52 lines
1.1 KiB
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* $Id: $
|
|
* $HeadURL: $
|
|
* $Author: $
|
|
* Created by Steve K., ESZS 12-01-2026
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "logger.h"
|
|
#include <AssetManagement/asm_dtc.h>
|
|
#include <AssetManagement/asm_ftc.h>
|
|
#include "main_dispatcher.h"
|
|
#include <QtCore/QObject>
|
|
|
|
namespace AssetManagement
|
|
{
|
|
namespace Interface
|
|
{
|
|
class Dtc;
|
|
class Ftc;
|
|
}
|
|
}
|
|
|
|
namespace AdlerJson
|
|
{
|
|
|
|
class MainDispatcher;
|
|
class AsmHandler : public QObject
|
|
, protected AssetManagement::Interface::Ftc::AssetModifyReplyHandler
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit AsmHandler(QObject *parent = nullptr);
|
|
bool init(MainDispatcher* mainDispatcher);
|
|
|
|
std::shared_ptr<AssetManagement::Interface::Dtc> getDtc() { return m_dtcAsm; }
|
|
std::shared_ptr<AssetManagement::Interface::Ftc> getFtc() { return m_ftcAsm; }
|
|
void modifyAssetAdlerProperties(int assetId, bool isSaaConnected = false);
|
|
private:
|
|
void onAssetModifyReply(const Core::FunctionReplyObject &reply) override;
|
|
|
|
private:
|
|
NGL::INGLLogger &m_logger;
|
|
std::shared_ptr<AssetManagement::Interface::Dtc> m_dtcAsm;
|
|
std::shared_ptr<AssetManagement::Interface::Ftc> m_ftcAsm;
|
|
int m_exerciseId;
|
|
};
|
|
|
|
}
|