mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-04-19 14:40:57 -04:00
26 lines
553 B
C++
26 lines
553 B
C++
#include "QueryNotificationsGet.hpp"
|
|
|
|
namespace db::query::notifications
|
|
{
|
|
Get::Get(NotificationsRecord::Key key) : Query(Query::Type::Read), key(key)
|
|
{}
|
|
|
|
auto Get::debugInfo() const -> std::string
|
|
{
|
|
return "Get";
|
|
}
|
|
|
|
GetResult::GetResult(NotificationsRecord record) : record(record)
|
|
{}
|
|
|
|
auto GetResult::getResult() const -> NotificationsRecord
|
|
{
|
|
return record;
|
|
}
|
|
|
|
auto GetResult::debugInfo() const -> std::string
|
|
{
|
|
return "GetResult";
|
|
}
|
|
} // namespace db::query::notifications
|