mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-01-25 06:18:18 -05:00
27 lines
440 B
C++
27 lines
440 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/sms.db";
|
|
|
|
SmsDB::SmsDB() : Database(dbName), sms(this), threads(this)
|
|
{
|
|
|
|
if (sms.Create() == false)
|
|
return;
|
|
if (threads.Create() == false)
|
|
return;
|
|
|
|
isInitialized = true;
|
|
}
|
|
|
|
SmsDB::~SmsDB()
|
|
{} |