Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Services/ProjectDataManagement/main_handler.h
T
berrux-dev e4743d631d Reduce qt6-after tree to release validation scope
Kept: TetraIF/, Z/src, Lts/Common, Lts/Proxies/TrainingAreaBase
(tabTelegrams dependency of TetraIF) plus build scaffolding
(cmake/, include/, external/, doxygen/, tests/, translations/,
lts-cc.conf, CTestCustom.ctest, new_docker_build.sh, rti_license.dat).
Removed: out-of-scope Lts modules (Application, DDS, Plugins, Projects,
Services, Tools, Viewer, all Proxies except TrainingAreaBase),
top-level src/, specs/, Qt5 tree (qt5-before + .gitmodules entry),
migration reports and leftover scripts.
2026-10-13 17:24:34 +02:00

43 lines
869 B
C++
Executable File

/**
* MainHandler for ProjectDataManagement
* $Id$
* $HeadURL$
* $Author$
*/
#pragma once
#include <memory>
#include "dds_handler.h"
#include "pdm_db.h"
#include "logger.h"
#include "static_data_publisher.h"
#include "translation.h"
#include "chargetype_rename.h"
namespace NGLDB
{
template <typename DB> class DbServiceHandler;
}
namespace ProjectDataManagement
{
using DbHandler = NGLDB::DbServiceHandler<DatabaseInterface>;
class MainHandler final
{
public:
MainHandler();
~MainHandler();
bool init(int domainId);
std::shared_ptr<DatabaseInterface> db() const;
private:
std::shared_ptr<DdsHandler> m_ddsHandler;
std::shared_ptr<DbHandler> m_dbHandler;
std::shared_ptr<Translation> m_translation;
std::shared_ptr<ChargeTypeRename> m_chargeTypeRename;
NGL::INGLLogger &m_logger;
};
} // namespace ProjectDataManagement