mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-04-20 15:07:17 -04:00
* [EGD-3169] added sms templates model and item fixed common class name convention * [EGD-3169] added templates window Passing template to new sms window is already working * [EGD-3169] PR fixes from DB PR * [EGD-3169] add universal callback for templates items * [EGD-3169] requesting templates from more 2 windows * [EGD-3169] missign change - display template in threads window * [EGD-3169] minor fixes * [EGD-3169] minimal clean up * [EGD-3169] fixed some layout constatnt * [EGD-3169] rem minor comments and logs * [EGD-3089] rem redundant vector include * [EGD-3169] PR fixes * [EGD-3169] fixes afeter rebase * [EGD-3169] workaround for list view issue - added 2 dump entries * [EGD-3169] PR fixes * [EGD-3169] style fixes * [EGD-3169] fix for 0x0D char on enter in text widget * [EGD-3169] PR fixes * [EGD-3169] compilation issue
35 lines
590 B
C++
35 lines
590 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/SMSTemplateTable.hpp"
|
|
|
|
class SmsDB : public Database
|
|
{
|
|
public:
|
|
SmsDB();
|
|
~SmsDB();
|
|
|
|
SMSTable sms;
|
|
ThreadsTable threads;
|
|
SMSTemplateTable templates;
|
|
|
|
static const char *GetDBName()
|
|
{
|
|
return dbName;
|
|
}
|
|
|
|
private:
|
|
static const char *dbName;
|
|
};
|