Files
MuditaOS/module-apps/application-messages/data/SMSdata.hpp
Radoslaw Wicik a8573a404c Apply new style
2020-03-17 10:03:16 +01:00

27 lines
641 B
C++

#pragma once
#include "ContactRecord.hpp"
#include "SwitchData.hpp"
#include "ThreadRecord.hpp"
#include <Database/Database.hpp>
#include <memory>
#include <string>
class SMSThreadData : public gui::SwitchData
{
public:
std::shared_ptr<ThreadRecord> thread = nullptr;
SMSThreadData(std::shared_ptr<ThreadRecord> thread) : thread(thread)
{}
virtual ~SMSThreadData() = default;
};
class SMSSendRequest : public gui::SwitchData
{
public:
std::shared_ptr<ContactRecord> contact = nullptr;
SMSSendRequest(std::shared_ptr<ContactRecord> contact) : contact(contact)
{}
virtual ~SMSSendRequest() = default;
};