mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-01-25 14:29:22 -05:00
* [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>
17 lines
380 B
C++
17 lines
380 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 "EventsDB.hpp"
|
|
|
|
#include <vfs.hpp>
|
|
|
|
const char *EventsDB::dbName = USER_PATH("events.db");
|
|
|
|
EventsDB::EventsDB() : Database(dbName), events(this)
|
|
{
|
|
if (events.create() == false) {
|
|
return;
|
|
}
|
|
isInitialized_ = true;
|
|
}
|