Files
MuditaOS/module-db/Databases/SmsDB.cpp
Alek Rudnik 393f41a89a Egd 3157 prepare sms template db table (#330)
* [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
2020-04-24 09:04:46 +02:00

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()
{}