// 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, grab, forbidden, unhandled, error }; typedef std::map Responses; constexpr std::array, 5> results = {{ { success, "success" }, { grab, "grab" }, { forbidden, "forbidden" }, { unhandled, "unhandled" }, { error, "error" } }}; }