mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:17: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
|
@ -20,7 +20,7 @@ Client::Client()
|
|||
|
||||
void Client::handshake()
|
||||
{
|
||||
send_sync<Messages::SymbolServer::Greet>();
|
||||
greet();
|
||||
}
|
||||
|
||||
void Client::dummy()
|
||||
|
@ -29,16 +29,16 @@ void Client::dummy()
|
|||
|
||||
Optional<Symbol> Client::symbolicate(const String& path, FlatPtr address)
|
||||
{
|
||||
auto response = send_sync<Messages::SymbolServer::Symbolicate>(path, address);
|
||||
if (!response->success())
|
||||
auto response = IPCProxy::symbolicate(path, address);
|
||||
if (!response.success())
|
||||
return {};
|
||||
|
||||
return Symbol {
|
||||
.address = address,
|
||||
.name = response->name(),
|
||||
.offset = response->offset(),
|
||||
.filename = response->filename(),
|
||||
.line_number = response->line()
|
||||
.name = response.name(),
|
||||
.offset = response.offset(),
|
||||
.filename = response.filename(),
|
||||
.line_number = response.line()
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue