mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 20:07:34 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -28,7 +28,7 @@ struct Handler {
|
|||
HashTable<String> protocols {};
|
||||
|
||||
static String name_from_executable(StringView);
|
||||
void from_executable(Type, const String&);
|
||||
void from_executable(Type, String const&);
|
||||
String to_details_str() const;
|
||||
};
|
||||
|
||||
|
@ -37,9 +37,9 @@ public:
|
|||
Launcher();
|
||||
static Launcher& the();
|
||||
|
||||
void load_handlers(const String& af_dir = Desktop::AppFile::APP_FILES_DIRECTORY);
|
||||
void load_config(const Core::ConfigFile&);
|
||||
bool open_url(const URL&, const String& handler_name);
|
||||
void load_handlers(String const& af_dir = Desktop::AppFile::APP_FILES_DIRECTORY);
|
||||
void load_config(Core::ConfigFile const&);
|
||||
bool open_url(const URL&, String const& handler_name);
|
||||
Vector<String> handlers_for_url(const URL&);
|
||||
Vector<String> handlers_with_details_for_url(const URL&);
|
||||
|
||||
|
@ -48,11 +48,11 @@ private:
|
|||
HashMap<String, String> m_protocol_handlers;
|
||||
HashMap<String, String> m_file_handlers;
|
||||
|
||||
Handler get_handler_for_executable(Handler::Type, const String&) const;
|
||||
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);
|
||||
Handler get_handler_for_executable(Handler::Type, String const&) const;
|
||||
void for_each_handler(String const& key, HashMap<String, String>& user_preferences, Function<bool(Handler const&)> f);
|
||||
void for_each_handler_for_path(String const&, Function<bool(Handler const&)> f);
|
||||
bool open_file_url(const URL&);
|
||||
bool open_with_user_preferences(const HashMap<String, String>& user_preferences, const String& key, const Vector<String>& arguments, const String& default_program = {});
|
||||
bool open_with_handler_name(const URL&, const String& handler_name);
|
||||
bool open_with_user_preferences(HashMap<String, String> const& user_preferences, String const& key, Vector<String> const& arguments, String const& default_program = {});
|
||||
bool open_with_handler_name(const URL&, String const& handler_name);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue