~aleteoryx/muditaos

ref: 4f7ec2efd387c6195288fa9086069c4b30e37aac muditaos/module-db/queries/phonebook/QueryContactRemove.cpp -rw-r--r-- 591 bytes
4f7ec2ef — Lukasz Mastalerz [CP-1831] Editing contact which is deleted via Center can still be saved but with incomplete data 2 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
// Copyright (c) 2017-2023, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#include "QueryContactRemove.hpp"

#include <string>

using namespace db::query;

ContactRemove::ContactRemove(unsigned int id) : Query(Query::Type::Delete), id(id)
{}

ContactRemoveResult::ContactRemoveResult(bool result) : result(result)
{}

[[nodiscard]] auto ContactRemove::debugInfo() const -> std::string
{
    return "ContactRemove";
}

[[nodiscard]] auto ContactRemoveResult::debugInfo() const -> std::string
{
    return "ContactRemoveResult";
}