mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-01-24 22:08:33 -05:00
24 lines
434 B
C++
24 lines
434 B
C++
/*
|
|
* @file NotesDB.cpp
|
|
* @author Robert Borzecki (robert.borzecki@mudita.com)
|
|
* @date 8 sie 2019
|
|
* @brief
|
|
* @copyright Copyright (C) 2019 mudita.com
|
|
* @details
|
|
*/
|
|
#include <module-vfs/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()
|
|
{}
|