#ifndef DATABASEMANAGER_H #define DATABASEMANAGER_H #include #include #include "model/ultrasoundModule/UsModule.h" #include "config/Configuration.h" #include "model/databaseManager/core/DatabaseManagerCore.h" /*************************************************************************************************/ /** * @brief Is responsible for database management i.e. CRUD operations on tables * @details This module will take commands from other classes and does the database stuff, for * example it will read requested data or writes new ones, at the first run it also creates the DB * scheme with provided files * @author Mohammad Mohsen Talaie * @date 20 sep 2020 */ /*************************************************************************************************/ class DatabaseManager : public UsModule { Q_OBJECT US_MODULE SINGLETON(DatabaseManager) private: DatabaseManagerCore* _core; public: DatabaseManager(); ~DatabaseManager() override; }; #endif //DATABASEMANAGER_H