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

30 lines
701 B
C++

#pragma once
#include "module-db/Interface/NotificationsRecord.hpp"
#include <Common/Query.hpp>
#include <string>
namespace db::query::notifications
{
class Get : public Query
{
public:
const NotificationsRecord::Key key;
Get(NotificationsRecord::Key key);
[[nodiscard]] auto debugInfo() const -> std::string override;
};
class GetResult : public QueryResult
{
NotificationsRecord record;
public:
GetResult(NotificationsRecord record);
[[nodiscard]] auto getResult() const -> NotificationsRecord;
[[nodiscard]] auto debugInfo() const -> std::string override;
};
} // namespace db::query::notifications