mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 23:27:44 +00:00
Userland: Update IPC calls to use proxies
This updates all existing code to use the auto-generated client methods instead of post_message/send_sync.
This commit is contained in:
parent
78803ce384
commit
5bb79ea0a7
63 changed files with 303 additions and 316 deletions
|
@ -52,7 +52,7 @@ Messages::ClipboardServer::GetClipboardDataResponse ClientConnection::get_clipbo
|
|||
|
||||
void ClientConnection::notify_about_clipboard_change()
|
||||
{
|
||||
post_message(Messages::ClipboardClient::ClipboardDataChanged(Storage::the().mime_type()));
|
||||
async_clipboard_data_changed(Storage::the().mime_type());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -14,8 +14,7 @@
|
|||
namespace Clipboard {
|
||||
|
||||
class ClientConnection final
|
||||
: public IPC::ClientConnection<ClipboardClientEndpoint, ClipboardServerEndpoint>
|
||||
{
|
||||
: public IPC::ClientConnection<ClipboardClientEndpoint, ClipboardServerEndpoint> {
|
||||
C_OBJECT(ClientConnection);
|
||||
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue