~aleteoryx/muditaos

ref: 94a825af64017345b90f92cf8a496dc98e12eabe muditaos/module-db/queries/messages/templates/QuerySMSTemplateRemove.cpp -rw-r--r-- 741 bytes
94a825af — Marcin Zieliński [MOS-810] Fixed call state timer termination 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#include "QuerySMSTemplateRemove.hpp"

namespace db::query
{
    SMSTemplateRemove::SMSTemplateRemove(unsigned int id) : Query(Query::Type::Read), id(id)
    {}

    auto SMSTemplateRemove::debugInfo() const -> std::string
    {
        return "SMSTemplateRemove";
    }

    SMSTemplateRemoveResult::SMSTemplateRemoveResult(bool result) : result(result)
    {}
    auto SMSTemplateRemoveResult::getResults() const -> bool
    {
        return result;
    }
    auto SMSTemplateRemoveResult::debugInfo() const -> std::string
    {
        return "SMSTemplateRemoveResult";
    }

} // namespace db::query