Files
product-vamp/include/vamp_protocol/page_control.hpp
T
khodowany fe42d811fa
ci / checks (push) Successful in 42m54s
Formatting
2026-09-15 00:06:02 -05:00

30 lines
1.0 KiB
C++

#pragma once
#include <modulus/types.hpp>
namespace vamp_protocol {
constexpr std::char_t root_path[] = "/";
constexpr std::char_t status_path[] = "/api/status";
constexpr std::char_t next_page_path[] = "/api/page/next";
constexpr std::char_t previous_page_path[] = "/api/page/previous";
constexpr std::char_t remote_next_path[] = "/api/remote/next";
constexpr std::char_t remote_previous_path[] = "/api/remote/previous";
constexpr std::char_t remote_select_path[] = "/api/remote/select";
constexpr std::char_t remote_heartbeat_path[] = "/api/remote/heartbeat";
constexpr std::char_t remote_display_path[] = "/api/remote/display";
enum class page_command {
PREVIOUS,
NEXT,
SELECT,
};
auto page_command_path(vamp_protocol::page_command command) -> std::char_t const *;
auto page_command_legacy_path(vamp_protocol::page_command command) -> std::char_t const *;
auto page_command_name(vamp_protocol::page_command command) -> std::char_t const *;
auto page_command_display_label(vamp_protocol::page_command command) -> std::char_t const *;
}