Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
Executable
+35
@@ -0,0 +1,35 @@
|
||||
/**
|
||||
* @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;
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user