finish representer protocol
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#include <basalt/char_types.hpp>
|
||||
#include <basalt/pipe_operator.hpp>
|
||||
#include <cstdint>
|
||||
|
||||
@@ -23,13 +24,20 @@ namespace basalt::presenter::cmd_client {
|
||||
RGB_U8 = 0x04 ///< RGB represented by three u8
|
||||
};
|
||||
|
||||
#pragma pack(push, 1)
|
||||
struct HandshakePayload {
|
||||
bool headless;
|
||||
PixelKind pixel_kind;
|
||||
std::uint32_t width;
|
||||
std::uint32_t height;
|
||||
shared::char_types::BSString engine_name;
|
||||
std::uint32_t engine_device;
|
||||
shared::char_types::BSString delivery_name;
|
||||
std::uint32_t delivery_device;
|
||||
shared::char_types::BSString object_loader_name;
|
||||
shared::char_types::BSString object_loader_file;
|
||||
shared::char_types::BSString anime_loader_name;
|
||||
shared::char_types::BSString anime_loader_file;
|
||||
};
|
||||
#pragma pack(pop)
|
||||
|
||||
// Status
|
||||
enum class CmdClientStatus {
|
||||
|
||||
Reference in New Issue
Block a user