From a7de368cccf30e49c018017c291f906f7c402a3e Mon Sep 17 00:00:00 2001 From: miladS Date: Sat, 27 Jan 2024 18:15:53 +0330 Subject: [PATCH] Add database manager. --- logic/include/model/DatabaseManager.h | 13 +++++++++++++ logic/src/model/DatabaseManager.cpp | 6 ++++++ 2 files changed, 19 insertions(+) create mode 100644 logic/include/model/DatabaseManager.h create mode 100644 logic/src/model/DatabaseManager.cpp diff --git a/logic/include/model/DatabaseManager.h b/logic/include/model/DatabaseManager.h new file mode 100644 index 0000000..f321a33 --- /dev/null +++ b/logic/include/model/DatabaseManager.h @@ -0,0 +1,13 @@ +#ifndef DatabaseManager_H +#define DatabaseManager_H + +class DatabaseManager +{ +private: + char _functionCode; + +public: + DatabaseManager(char functionCode); +}; + +#endif //DatabaseManager_H diff --git a/logic/src/model/DatabaseManager.cpp b/logic/src/model/DatabaseManager.cpp new file mode 100644 index 0000000..b3ab640 --- /dev/null +++ b/logic/src/model/DatabaseManager.cpp @@ -0,0 +1,6 @@ +#include "model/DatabaseManager.h" + +DatabaseManager::DatabaseManager(char functionCode) +{ + _functionCode = functionCode; +}