Luna/wind/Client.h

20 lines
408 B
C
Raw Normal View History

2023-08-14 16:15:29 +00:00
#pragma once
#include "Window.h"
#include <os/LocalServer.h>
struct Client
{
os::LocalServer::Client conn;
Vector<Window*> windows;
const bool privileged { false };
2023-08-14 16:15:29 +00:00
bool rpc_in_progress { false };
u8 rpc_id { 0 };
Client(os::LocalServer::Client&& client, bool priv)
#ifdef CLIENT_IMPLEMENTATION
: conn(move(client)), windows(), privileged(priv) {}
#else
;
#endif
2023-08-14 16:15:29 +00:00
};