// SPDX-FileCopyrightText: 2024 Yury Gubich // SPDX-License-Identifier: GPL-3.0-or-later #pragma once #include #include #include #include "definitions.h" namespace Shared { enum Result { success, forbidden, unhandled, error }; typedef std::map Responses; constexpr std::array, 4> results = {{ { success, "success" }, { forbidden, "forbidden" }, { unhandled, "unhandled" }, { error, "error" }, }}; }