Initial commit

This commit is contained in:
torsten committed 2026-08-13 18:33:10 +02:00
commit b7d90b9afe
16245 files changed
+3396666

No files matched your search

+37
View File
@@ -0,0 +1,37 @@
/**
* @RDE_HEADER@
* Base Class for all handlers in FLM
* $Id$
* $HeadURL$
* $Author$
* Created by Christian Ehrlicher, SLSE, 2016-11-18
*/
#pragma once
#include <FileManagement/flm_db.h>
#include <FileManagement/flm_dts.h>
#include <FileManagement/flm_dtc.h>
#include <FileManagement/flm_fts.h>
#include "logger.h"
namespace FileManagement
{
class MainHandler;
class Base : public QObject
{
Q_OBJECT
protected:
explicit Base(MainHandler *mainHandler, NGL::INGLLogger &logger, QObject *parent = nullptr);
virtual ~Base();
std::shared_ptr<DatabaseInterface> db() const;
std::shared_ptr<Interface::Dts> dts() const;
std::shared_ptr<Interface::Dtc> dtc() const;
std::shared_ptr<Interface::Fts> fts() const;
protected:
MainHandler *m_mainHandler;
LOGGER_T m_logger;
};
}