mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-10-25 07:58:29 -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
35 lines
592 B
C++
35 lines
592 B
C++
|
|
/*
|
|
* @file SmsDB.hpp
|
|
* @author Mateusz Piesta (mateusz.piesta@mudita.com)
|
|
* @date 28.05.19
|
|
* @brief
|
|
* @copyright Copyright (C) 2019 mudita.com
|
|
* @details
|
|
*/
|
|
#pragma once
|
|
|
|
#include "Database/Database.hpp"
|
|
#include "../Tables/SMSTable.hpp"
|
|
#include "../Tables/ThreadsTable.hpp"
|
|
#include "../Tables/SMSTemplatesTable.hpp"
|
|
|
|
class SmsDB : public Database
|
|
{
|
|
public:
|
|
SmsDB();
|
|
~SmsDB();
|
|
|
|
SMSTable sms;
|
|
ThreadsTable threads;
|
|
SMSTemplatesTable templates;
|
|
|
|
static const char *GetDBName()
|
|
{
|
|
return dbName;
|
|
}
|
|
|
|
private:
|
|
static const char *dbName;
|
|
};
|