mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-01-25 06:18:18 -05:00
23 lines
396 B
C++
23 lines
396 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 "NotesDB.hpp"
|
|
|
|
const char *NotesDB::dbName = "sys/notes.db";
|
|
|
|
NotesDB::NotesDB() : Database(dbName), notes(this)
|
|
{
|
|
|
|
if (notes.Create() == false)
|
|
return;
|
|
isInitialized = true;
|
|
}
|
|
|
|
NotesDB::~NotesDB()
|
|
{}
|