mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-07-21 05:24:22 -04:00
* [EGD-3157] added new DB templates table * [EGD-3157] added SMS template record * [EGD-3157] added sms template tabels UT and fixes * [EGD-3157] added sms template record UT * [EGD-3157] error log in Database.cpp * [EGD-3157] fixed usage pf printf specifiers * [EGD-3157] fixed description in database md file * [EGD-3157] remove redundant comments
19 lines
344 B
C++
19 lines
344 B
C++
|
|
#include "SmsDB.hpp"
|
|
|
|
const char *SmsDB::dbName = "sys/sms.db";
|
|
|
|
SmsDB::SmsDB() : Database(dbName), sms(this), threads(this), templates(this)
|
|
{
|
|
if (sms.Create() == false)
|
|
return;
|
|
if (threads.Create() == false)
|
|
return;
|
|
if (templates.Create() == false)
|
|
return;
|
|
|
|
isInitialized = true;
|
|
}
|
|
|
|
SmsDB::~SmsDB()
|
|
{} |