Files
MuditaOS/module-db/queries/messages/sms/QuerySMSGetCountByThreadID.cpp
Piotr Tański 1d2f5cf7a4 [EGD-7754] Dates bumped in disclaimers
Dates bumped from 2020 to 2021.
2021-10-11 19:08:26 +02:00

28 lines
807 B
C++

// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#include "QuerySMSGetCountByThreadID.hpp"
namespace db::query
{
SMSGetCountByThreadID::SMSGetCountByThreadID(unsigned int threadId) : Query(Query::Type::Read), threadId(threadId)
{}
auto SMSGetCountByThreadID::debugInfo() const -> std::string
{
return "SMSGetCountByThreadID";
}
SMSGetCountByThreadIDResult::SMSGetCountByThreadIDResult(uint32_t result) : result(result)
{}
auto SMSGetCountByThreadIDResult::getResults() const -> uint32_t
{
return result;
}
auto SMSGetCountByThreadIDResult::debugInfo() const -> std::string
{
return "SMSGetCountByThreadIDResult";
}
} // namespace db::query