mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-04-19 14:40:57 -04:00
29 lines
709 B
C++
29 lines
709 B
C++
// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved.
|
|
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
|
|
|
|
#include "QueryNotificationsIncrement.hpp"
|
|
|
|
namespace db::query::notifications
|
|
{
|
|
Increment::Increment(NotificationsRecord::Key key) : Query(Query::Type::Update), key(key)
|
|
{}
|
|
|
|
auto Increment::debugInfo() const -> std::string
|
|
{
|
|
return "Increment";
|
|
}
|
|
|
|
IncrementResult::IncrementResult(bool ret) : ret(ret)
|
|
{}
|
|
|
|
auto IncrementResult::getResult() const -> bool
|
|
{
|
|
return ret;
|
|
}
|
|
|
|
auto IncrementResult::debugInfo() const -> std::string
|
|
{
|
|
return "IncrementResult";
|
|
}
|
|
} // namespace db::query::notifications
|