mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-10-26 00:18:31 -04:00
26 lines
533 B
C++
26 lines
533 B
C++
#include "QueryNotificationsClear.hpp"
|
|
|
|
namespace db::query::notifications
|
|
{
|
|
Clear::Clear(NotificationsRecord::Key key) : Query(Query::Type::Update), key(key)
|
|
{}
|
|
|
|
auto Clear::debugInfo() const -> std::string
|
|
{
|
|
return "Clear";
|
|
}
|
|
|
|
ClearResult::ClearResult(bool ret) : ret(ret)
|
|
{}
|
|
|
|
auto ClearResult::getResult() const -> bool
|
|
{
|
|
return ret;
|
|
}
|
|
|
|
auto ClearResult::debugInfo() const -> std::string
|
|
{
|
|
return "ClearResult";
|
|
}
|
|
} // namespace db::query::notifications
|