Files
MuditaOS/module-db/queries/notifications/QueryNotificationsGetAll.cpp
Alek Rudnik 019b5cf719 Egd 3338 missed calls home scree notifications (#463)
* [EGD-3338] Missed calls home screen notifications
2020-06-25 23:42:42 +02:00

26 lines
625 B
C++

#include "QueryNotificationsGetAll.hpp"
namespace db::query::notifications
{
GetAll::GetAll() : Query(Query::Type::Read)
{}
auto GetAll::debugInfo() const -> std::string
{
return "GetAll";
}
GetAllResult::GetAllResult(std::unique_ptr<std::vector<NotificationsRecord>> records) : records(std::move(records))
{}
auto GetAllResult::getResult() -> std::unique_ptr<std::vector<NotificationsRecord>>
{
return std::move(records);
}
auto GetAllResult::debugInfo() const -> std::string
{
return "GetAllResult";
}
} // namespace db::query::notifications