mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:57:45 +00:00
WindowServer: Add WSClientConnection::post_message().
This way WSWindow doesn't have to grab at the Process.
This commit is contained in:
parent
427df5f312
commit
9ab9734da0
3 changed files with 43 additions and 39 deletions
|
@ -9,6 +9,7 @@
|
|||
class WSWindow;
|
||||
class WSMenu;
|
||||
class WSMenuBar;
|
||||
struct GUI_ServerMessage;
|
||||
|
||||
// FIXME: Remove.
|
||||
class Process;
|
||||
|
@ -21,6 +22,8 @@ public:
|
|||
static WSClientConnection* from_client_id(int client_id);
|
||||
static WSClientConnection* ensure_for_client_id(int client_id);
|
||||
|
||||
void post_message(GUI_ServerMessage&&);
|
||||
|
||||
// FIXME: Remove.
|
||||
Process* process() { return m_process.ptr(); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue