29 lines
1.0 KiB
C++
29 lines
1.0 KiB
C++
#pragma once
|
|
|
|
#include <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*;
|
|
|
|
}
|