mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-01-24 13:58:00 -05:00
31 lines
465 B
C++
31 lines
465 B
C++
|
|
/*
|
|
* @file SmsDB.cpp
|
|
* @author Mateusz Piesta (mateusz.piesta@mudita.com)
|
|
* @date 28.05.19
|
|
* @brief
|
|
* @copyright Copyright (C) 2019 mudita.com
|
|
* @details
|
|
*/
|
|
|
|
|
|
#include "SmsDB.hpp"
|
|
|
|
|
|
const char *SmsDB::dbName = "sys/db/sms.db";
|
|
|
|
SmsDB::SmsDB() :
|
|
Database(dbName),
|
|
sms(this),
|
|
threads(this){
|
|
|
|
if(sms.Create() == false) return;
|
|
if(threads.Create() == false) return;
|
|
|
|
isInitialized = true;
|
|
|
|
}
|
|
|
|
SmsDB::~SmsDB() {
|
|
|
|
} |