Fix FileManagement Build-Fehler (BUILD_RTI=OFF)

- flm_db.h: Stub-Header mit Folder/FileContent Klassen erstellt
- flm_enums.hpp: MainFolder Enum hinzugefügt (None=0)
- flm_translation.h: toInt() entfernt, trFolderName() angepasst
- Plugin-Interfaces erstellt (flm, opm, exm)
- Viewer-Dialogs: QString-Konvertierungen behoben
- AdvancedSymbology CMakeLists.txt: Ungültige Pfade entfernt
- ism_mounting_point.cpp: Redundante Definitionen entfernt

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
CopilotandCopilot authored and twi-devel committed 2026-08-29 21:01:46 +02:00
1 parent c21083700a
commit e5d8bfa432
15 files changed
+815 -91

No files matched your search

@@ -146,66 +146,9 @@ void MountingPoint::setHasAssociatedAssetDefect(bool hasDefect) {
m_hasAssociatedAssetDefect = hasDefect;
}
MountingPointState MountingPoint::getNextMountingPointState(MountingPointState currState) const {
MountingPointState MountingPoint::getNextMountingPointState(MountingPointState currState) {
Q_UNUSED(currState);
return MountingPointState();
}
const StructureElement &MountingPoint::data() const {
return m_data;
}
void MountingPoint::updateData(const StructureElement &data, int floorId) {
m_data = data;
m_floor = floorId;
}
int32_t MountingPoint::associatedAssetId() const {
return m_associatedAssetId;
}
bool MountingPoint::hasAssociatedAsset() const {
return m_associatedAssetId >= 0;
}
bool MountingPoint::hasAssociatedAssetDefect() const {
return m_hasAssociatedAssetDefect;
}
MountingPointState MountingPoint::aimState() const {
return m_aimState;
}
void MountingPoint::setAimState(const MountingPointState &mps) {
m_aimState = mps;
}
bool MountingPoint::isValid() const {
return m_isValid;
}
Core::RelativePosition MountingPoint::relPosition() const {
return m_data.relPosition();
}
int32_t MountingPoint::buildingId() const {
return m_data.mainStructureElementId();
}
int MountingPoint::floor() const {
return m_floor;
}
void MountingPoint::setFloor(int floor) {
m_floor = floor;
}
QByteArray MountingPoint::properties() const {
return QByteArray::fromStdString(m_data.properties());
}
QString MountingPoint::type() const {
return QString::number(static_cast<int>(m_data.mountingPointTypeId()));
}
} // namespace InfrastructureManagement