mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-06-28 10:17:24 -04:00
33 lines
582 B
C++
33 lines
582 B
C++
|
|
/*
|
|
* @file SettingsDB.hpp
|
|
* @author Mateusz Piesta (mateusz.piesta@mudita.com)
|
|
* @date 05.06.19
|
|
* @brief
|
|
* @copyright Copyright (C) 2019 mudita.com
|
|
* @details
|
|
*/
|
|
#pragma once
|
|
|
|
#include "Database/Database.hpp"
|
|
#include "../Tables/SettingsTable.hpp"
|
|
#include "../Tables/SettingsTable_v2.hpp"
|
|
|
|
class SettingsDB : public Database
|
|
{
|
|
public:
|
|
SettingsDB();
|
|
~SettingsDB() override = default;
|
|
|
|
SettingsTable settings;
|
|
SettingsTable_v2 settings_v2;
|
|
|
|
static const char *GetDBName()
|
|
{
|
|
return dbName;
|
|
}
|
|
|
|
private:
|
|
static const char *dbName;
|
|
};
|