mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-05-19 14:15:02 -04:00
33 lines
769 B
C++
33 lines
769 B
C++
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
|
|
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
|
|
|
|
#pragma once
|
|
|
|
#include <Tables/ThreadsTable.hpp>
|
|
#include <Common/Query.hpp>
|
|
#include <string>
|
|
#include "Interface/SMSRecord.hpp"
|
|
|
|
namespace db::query
|
|
{
|
|
|
|
class SMSRemove : public Query
|
|
{
|
|
public:
|
|
SMSRemove(unsigned int id);
|
|
unsigned int id;
|
|
[[nodiscard]] auto debugInfo() const -> std::string override;
|
|
};
|
|
|
|
class SMSRemoveResult : public QueryResult
|
|
{
|
|
bool result;
|
|
|
|
public:
|
|
SMSRemoveResult(bool result);
|
|
[[nodiscard]] auto getResults() const -> bool;
|
|
[[nodiscard]] auto debugInfo() const -> std::string override;
|
|
};
|
|
|
|
} // namespace db::query
|