23 lines
452 B
C++
23 lines
452 B
C++
#pragma once
|
|
|
|
#include "core/playback_types.h"
|
|
|
|
#include <cstdint>
|
|
|
|
namespace borla {
|
|
|
|
enum class ButtonAction : uint8_t {
|
|
kUnspecified = 0,
|
|
kFriendMode,
|
|
kNetworkSwitch,
|
|
kNothing,
|
|
};
|
|
|
|
const char* ToString(ButtonAction action);
|
|
bool ParseButtonAction(const char* value, ButtonAction* action);
|
|
|
|
bool IsAllowedConnectionPrompt(LocalPrompt prompt);
|
|
bool ParseConnectionPrompt(const char* value, LocalPrompt* prompt);
|
|
|
|
} // namespace borla
|