Files
MuditaOS/module-db/queries/notifications/QueryNotificationsGetAll.hpp
T
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

29 lines
727 B
C++

#pragma once
#include "module-db/Interface/NotificationsRecord.hpp"
#include <Common/Query.hpp>
#include <string>
namespace db::query::notifications
{
class GetAll : public Query
{
public:
GetAll();
[[nodiscard]] auto debugInfo() const -> std::string override;
};
class GetAllResult : public QueryResult
{
std::unique_ptr<std::vector<NotificationsRecord>> records;
public:
GetAllResult(std::unique_ptr<std::vector<NotificationsRecord>> records);
[[nodiscard]] auto getResult() -> std::unique_ptr<std::vector<NotificationsRecord>>;
[[nodiscard]] auto debugInfo() const -> std::string override;
};
} // namespace db::query::notifications