#pragma once #include "IPC.h" #include "Window.h" #include struct Client { OwnedPtr conn; Vector windows; const bool privileged { false }; bool should_be_disconnected { false }; Client(OwnedPtr&& client, bool priv) #ifdef CLIENT_IMPLEMENTATION : conn(move(client)), windows(), privileged(priv) { conn->set_message_handler(wind::handle_ipc_message, this); } #else ; #endif };