Files
MuditaOS/module-db/queries/notifications/QueryNotificationsClear.cpp
Lefucjusz 773f2c7eb1 [BH-2069] Update license URL in headers
Update outdated license file URL in
license headers across all project.
2024-09-18 11:53:01 +02:00

34 lines
782 B
C++

// Copyright (c) 2017-2024, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/blob/master/LICENSE.md
#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";
}
auto Clear::getKey() const noexcept -> NotificationsRecord::Key
{
return key;
}
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