- CMakeLists.txt: Include-Pfade von ../ zu . geändert, json.h hinzugefügt - ~95 Dateien: Include-Pfade systematisch korrigiert - LtsUtils/ → LtsUtilsCore/ für alle Core-Header - LtsUtilsGui/LtsUtils/LtsUtilsGui/ → LtsUtilsGui/LtsUtilsGuiDds/ - Logger-API: getLogger() mit const char* Parameter - DataModification: enum class global (nicht im Lts-Namespace) - Participant-Struct: Member mit m_-Präfix - Export-Macro: SVCALMCOMMON_EXPORT statt ALMCOMMON_EXPORT - Signal/Slot-Signaturen korrigiert für Qt6 template matching Build validiert: LtsUtilsCore, LtsUtilsDds, LtsSessionData erfolgreich
43 lines
1.1 KiB
C++
43 lines
1.1 KiB
C++
#pragma once
|
|
|
|
// STUB-HEADER: Diese Datei wird normalerweise von DDS/Codegenerator generiert
|
|
// Für die Migration erstellen wir minimale Typ-Definitionen
|
|
|
|
#include "pdm_types.h"
|
|
|
|
namespace ProjectDataManagement
|
|
{
|
|
|
|
// STUB: EventType Enum
|
|
enum class EventType : int
|
|
{
|
|
Unknown = 0,
|
|
Alarm = 1,
|
|
Warning = 2,
|
|
Info = 3
|
|
};
|
|
|
|
// STUB: EventType_def - Platzhalter für DDS-generierten Typ
|
|
// Wird in AlarmManagement für Event-Typisierung verwendet
|
|
struct EventType_def
|
|
{
|
|
int value{0};
|
|
|
|
EventType_def() = default;
|
|
explicit EventType_def(int v) : value(v) {}
|
|
explicit EventType_def(EventType t) : value(static_cast<int>(t)) {}
|
|
|
|
bool operator==(const EventType_def& other) const { return value == other.value; }
|
|
bool operator!=(const EventType_def& other) const { return value != other.value; }
|
|
bool operator<(const EventType_def& other) const { return value < other.value; }
|
|
};
|
|
|
|
// STUB: EventData - Basisstruktur für Event-Daten
|
|
struct EventData
|
|
{
|
|
EventType_def eventType;
|
|
QString description;
|
|
qint64 timestamp{0};
|
|
};
|
|
|
|
} // namespace ProjectDataManagement
|