mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 06:27:45 +00:00
LaunchServer: added additional file parameters
This small commit should allow to specify additionnal parameters in the form of URL queries, when opening a file via a "file://" url through the LaunchServer.
This commit is contained in:
parent
c9f25bca04
commit
a0c0d781e8
2 changed files with 20 additions and 7 deletions
|
@ -72,7 +72,7 @@ private:
|
|||
void for_each_handler(const String& key, HashMap<String, String>& user_preferences, Function<bool(const Handler&)> f);
|
||||
void for_each_handler_for_path(const String&, Function<bool(const Handler&)> f);
|
||||
bool open_file_url(const URL&);
|
||||
bool open_with_user_preferences(const HashMap<String, String>& user_preferences, const String key, const String argument, const String default_program = {});
|
||||
bool open_with_user_preferences(const HashMap<String, String>& user_preferences, const String key, const AK::Vector<String> arguments, const String default_program = {});
|
||||
bool open_with_handler_name(const URL&, const String& handler_name);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue