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

36 lines
737 B
C++
Executable File

/**
* @RDE_HEADER@
* Base Class for all handler in ISM
* $Id$
* $HeadURL$
* $Author$
* Created by Christian Ehrlicher, SLSE, 2016-11-18
*/
#pragma once
#include <InfrastructureManagement/ism_db.h>
#include <InfrastructureManagement/ism_dts.h>
#include <InfrastructureManagement/ism_fts.h>
#include "logger.h"
namespace InfrastructureManagement
{
class MainHandler;
class Base : public QObject
{
Q_OBJECT
protected:
explicit Base(MainHandler *mainHandler, NGL::INGLLogger &logger);
virtual ~Base();
std::shared_ptr<DatabaseInterface> db() const;
std::shared_ptr<Interface::Dts> dts() const;
std::shared_ptr<Interface::Fts> fts() const;
protected:
MainHandler *m_mainHandler;
LOGGER_T m_logger;
};
}