Files
MuditaOS/module-db/Databases/NotesDB.cpp
Lucjan Bryndza 707b31ac3e [EGD-4264] directory reordering (#1001)
* [EGD-4264] VFS directory reordering

Currently VFS uses flat directory structure
for disc manager I need more sofisticated directory layout

* [EGD-4264] Remove redundant -Wno

* [EGD-4261] New purefs API

* [EGD-4264] Unittest fixes

* [EGD-4264] Directory relativity

* [EGD-4264] Relative path fixes

* [EGD-4264] Fix RT1051 compile errors

Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
2020-11-16 12:11:24 +01:00

19 lines
389 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 "NotesDB.hpp"
const char *NotesDB::dbName = USER_PATH("notes.db");
NotesDB::NotesDB() : Database(dbName), notes(this)
{
if (notes.create() == false)
return;
isInitialized_ = true;
}
NotesDB::~NotesDB()
{}