mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-06-28 10:17:24 -04:00
This reverts commit f11bc1f0d0.
Co-authored-by: Hubert Chrzaniuk <hubert.chrzaniuk@mudita.com>
27 lines
548 B
C++
27 lines
548 B
C++
// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved.
|
|
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
|
|
|
|
#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;
|
|
};
|