Resolves 17 conflicts against legacy Qt5 semantics; validates with BUILD_RTI=ON BUILD_GRANTLEE=ON.
41 lines
1.1 KiB
C++
41 lines
1.1 KiB
C++
/**
|
|
* @RDE_HEADER@
|
|
* Stub header for CODEGEN_DATABASE generated code (BUILD_RTI=OFF)
|
|
* This file is generated by CODEGEN_DATABASE macro when BUILD_RTI=ON
|
|
* For BUILD_RTI=OFF builds, this stub provides the minimal interface
|
|
*/
|
|
#pragma once
|
|
|
|
#include <QObject>
|
|
|
|
namespace Database
|
|
{
|
|
// Stub struct for EquipmentExerciseMapping
|
|
struct EquipmentExerciseMapping
|
|
{
|
|
int equipmentId = 0;
|
|
int exerciseId = 0;
|
|
};
|
|
} // namespace Database
|
|
|
|
namespace ParticipantManagement
|
|
{
|
|
|
|
/**
|
|
* @brief Base class for database interface implementation
|
|
*
|
|
* This class is normally generated by CODEGEN_DATABASE macro.
|
|
* This stub provides minimal interface for BUILD_RTI=OFF builds.
|
|
*/
|
|
class DatabaseInterfaceImpl : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit DatabaseInterfaceImpl(QObject *parent = nullptr) : QObject(parent) {}
|
|
virtual ~DatabaseInterfaceImpl() = default;
|
|
|
|
// Virtual methods that can be overridden by custom implementations
|
|
virtual bool removeEquipmentExerciseMapping(const Database::EquipmentExerciseMapping &equipmentExerciseMapping) = 0;
|
|
};
|
|
|
|
} // namespace ParticipantManagement
|