Files
MuditaOS/module-db/Databases/SettingsDB.cpp
RobertPiet 675dc59c9a [EGD-3572] SettingsTable exchanged to settings::Settings (#968) (#1044)
[EGD-3572] Application has an instance of Settings - removed from derived apps
[EGD-3572] Application is the owner of Settings handling for its windows/widgets
[EGD-3572] Settings header moved to service-db public section
2020-11-27 15:38:19 +01:00

15 lines
391 B
C++

// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#include <vfs.hpp>
#include "SettingsDB.hpp"
const char *SettingsDB::dbName = USER_PATH("settings.db");
SettingsDB::SettingsDB() : Database(dbName), settings_v2(this)
{
if (settings_v2.create() == false)
return;
isInitialized_ = true;
}