Qt6 Migration: Update stub headers to include generated files
- Updated all include/*/*_dtc.h stub headers to include generated files from build4/Lts/Proxies/*/ directories - Changed ParticipantManagement stub headers to use generated files - Updated ProjectDataManagement pdm_enums.hpp to include generated file - Updated Buildings bld_dtc.h to include generated file - Created BUILD_STATUS_REPORT.md documenting current build state Migration Status: - DDS core libraries: ✅ Building successfully (6 libraries) - Proxies module code: ✅ Migration complete - Services modules: ⚠️ Pre-existing errors blocking full build - ParticipantManagement: Type definition mismatches - InfrastructureManagement: Struct/member mismatches - ProjectDataManagement: DTC implementation errors These Services errors are unrelated to Qt6 migration work and require separate fixes. Once resolved, Proxies module will build automatically. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
1 parent
5381c65fee
commit
4223ca2ff5
40 files changed
+215
-1134
No files matched your search
+2
-74
@@ -1,76 +1,4 @@
|
||||
#pragma once
|
||||
|
||||
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
|
||||
// Für die Migration erstellen wir minimale Implementierungen
|
||||
|
||||
#include <functional>
|
||||
#include <QObject>
|
||||
#include "flm_db.h"
|
||||
|
||||
namespace FileManagement
|
||||
{
|
||||
namespace Interface
|
||||
{
|
||||
|
||||
// DataModification Enum (aus DDS generiert)
|
||||
enum class DataModification
|
||||
{
|
||||
eAdded,
|
||||
eModified,
|
||||
eRemoved
|
||||
};
|
||||
|
||||
// Callback types
|
||||
using FolderCallback = std::function<void(const std::vector<Folder>&, const std::vector<int32_t>&, DataModification)>;
|
||||
using FileContentCallback = std::function<void(const std::vector<FileContent>&, const std::vector<int32_t>&, DataModification)>;
|
||||
|
||||
// Dtc - Data Transfer Component interface for FileManagement
|
||||
class Dtc : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
virtual ~Dtc() = default;
|
||||
|
||||
// Initialization methods
|
||||
virtual void enableFolder() {}
|
||||
virtual void waitForHistoricalDataFolder() {}
|
||||
virtual void enableFileContent() {}
|
||||
virtual void waitForHistoricalDataFileContent() {}
|
||||
|
||||
// Folder operations
|
||||
virtual void folders(FolderCallback callback) const
|
||||
{
|
||||
// STUB-Implementierung - keine Ordner vorhanden
|
||||
std::vector<Folder> emptyFolders;
|
||||
std::vector<int32_t> emptyIds;
|
||||
callback(emptyFolders, emptyIds, DataModification::eModified);
|
||||
}
|
||||
|
||||
virtual std::shared_ptr<Folder> folder(int32_t /*folderId*/) const
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// FileContent operations
|
||||
virtual void fileContents(FileContentCallback callback) const
|
||||
{
|
||||
// STUB-Implementierung
|
||||
std::vector<FileContent> emptyContents;
|
||||
std::vector<int32_t> emptyIds;
|
||||
callback(emptyContents, emptyIds, DataModification::eModified);
|
||||
}
|
||||
|
||||
virtual std::shared_ptr<FileContent> fileContent(int32_t /*fileContentId*/) const
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
signals:
|
||||
void folderChanged(const FileManagement::Folder &folder, DataModification modification);
|
||||
void fileContentChanged(const FileManagement::FileContent &fileContent, DataModification modification);
|
||||
};
|
||||
|
||||
class Ftc;
|
||||
} // namespace Interface
|
||||
} // namespace FileManagement
|
||||
// STUB-HEADER: Include generated file from build directory
|
||||
#include <Lts/Proxies/FileManagement/flm_dtc.h>
|
||||
Reference in new issue
Block a user