mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 19:27:36 +00:00
Userland: Use snake case names in .ipc files
This updates all .ipc files to have snake case names for IPC methods.
This commit is contained in:
parent
eb21aa65d1
commit
9e22e9ce88
36 changed files with 296 additions and 287 deletions
|
@ -32,7 +32,7 @@ void ClientConnection::greet()
|
|||
{
|
||||
}
|
||||
|
||||
Messages::LaunchServer::OpenURLResponse ClientConnection::open_url(URL const& url, String const& handler_name)
|
||||
Messages::LaunchServer::OpenUrlResponse ClientConnection::open_url(URL const& url, String const& handler_name)
|
||||
{
|
||||
if (!m_allowlist.is_empty()) {
|
||||
bool allowed = false;
|
||||
|
@ -55,12 +55,12 @@ Messages::LaunchServer::OpenURLResponse ClientConnection::open_url(URL const& ur
|
|||
return Launcher::the().open_url(url, handler_name);
|
||||
}
|
||||
|
||||
Messages::LaunchServer::GetHandlersForURLResponse ClientConnection::get_handlers_for_url(URL const& url)
|
||||
Messages::LaunchServer::GetHandlersForUrlResponse ClientConnection::get_handlers_for_url(URL const& url)
|
||||
{
|
||||
return Launcher::the().handlers_for_url(url);
|
||||
}
|
||||
|
||||
Messages::LaunchServer::GetHandlersWithDetailsForURLResponse ClientConnection::get_handlers_with_details_for_url(URL const& url)
|
||||
Messages::LaunchServer::GetHandlersWithDetailsForUrlResponse ClientConnection::get_handlers_with_details_for_url(URL const& url)
|
||||
{
|
||||
return Launcher::the().handlers_with_details_for_url(url);
|
||||
}
|
||||
|
|
|
@ -23,9 +23,9 @@ private:
|
|||
explicit ClientConnection(NonnullRefPtr<Core::LocalSocket>, int client_id);
|
||||
|
||||
virtual void greet() override;
|
||||
virtual Messages::LaunchServer::OpenURLResponse open_url(URL const&, String const&) override;
|
||||
virtual Messages::LaunchServer::GetHandlersForURLResponse get_handlers_for_url(URL const&) override;
|
||||
virtual Messages::LaunchServer::GetHandlersWithDetailsForURLResponse get_handlers_with_details_for_url(URL const&) override;
|
||||
virtual Messages::LaunchServer::OpenUrlResponse open_url(URL const&, String const&) override;
|
||||
virtual Messages::LaunchServer::GetHandlersForUrlResponse get_handlers_for_url(URL const&) override;
|
||||
virtual Messages::LaunchServer::GetHandlersWithDetailsForUrlResponse get_handlers_with_details_for_url(URL const&) override;
|
||||
virtual void add_allowed_url(URL const&) override;
|
||||
virtual void add_allowed_handler_with_any_url(String const&) override;
|
||||
virtual void add_allowed_handler_with_only_specific_urls(String const&, Vector<URL> const&) override;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
endpoint LaunchClient
|
||||
{
|
||||
Dummy() =|
|
||||
dummy() =|
|
||||
}
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
endpoint LaunchServer
|
||||
{
|
||||
Greet() => ()
|
||||
OpenURL(URL url, String handler_name) => (bool response)
|
||||
GetHandlersForURL(URL url) => (Vector<String> handlers)
|
||||
GetHandlersWithDetailsForURL(URL url) => (Vector<String> handlers_details)
|
||||
greet() => ()
|
||||
open_url(URL url, String handler_name) => (bool response)
|
||||
get_handlers_for_url(URL url) => (Vector<String> handlers)
|
||||
get_handlers_with_details_for_url(URL url) => (Vector<String> handlers_details)
|
||||
|
||||
AddAllowedURL(URL url) => ()
|
||||
AddAllowedHandlerWithAnyURL(String handler_name) => ()
|
||||
AddAllowedHandlerWithOnlySpecificURLs(String handler_name, Vector<URL> urls) => ()
|
||||
SealAllowlist() => ()
|
||||
add_allowed_url(URL url) => ()
|
||||
add_allowed_handler_with_any_url(String handler_name) => ()
|
||||
add_allowed_handler_with_only_specific_urls(String handler_name, Vector<URL> urls) => ()
|
||||
seal_allowlist() => ()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue