Files
qt5-legatus-legacy/Lts/Services/InfrastructureManagement/ism_db_impl_custom.h
T
2026-08-13 18:33:10 +02:00

27 lines
881 B
C++
Executable File

/**
* @RDE_HEADER@
* Custom db functions (extends tab_db_impl.cpp/.h)
* $Id$
* $HeadURL$
* $Author$
*/
#pragma once
#include <InfrastructureManagement/ism_db_impl.h>
namespace InfrastructureManagement
{
class DatabaseInterfaceImplCustom final : public DatabaseInterfaceImpl
{
Q_OBJECT
public:
using DatabaseInterfaceImpl::DatabaseInterfaceImpl;
int copySchedule(int scheduleId) override final;
bool updateMountingPointPlan(int scheduleId, int mountingPointId, MountingPointState mountingPointState) override final;
bool deleteMountingPointPlan(int scheduleId, int mountingPointId) override final;
bool insertMountingPointPlans(const std::vector<Database::IsmMountingPointPlan> &mpps) override final;
// QHash<int, Database::IsmMountingPointPlan> getMountingPointPlansOfSchedule(int scheduleId) override final;
};
} // namespace InfrastructureManagement