File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Userland/Libraries/LibDesktop Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,11 @@ static LaunchServerConnection& connection()
50
50
return connection;
51
51
}
52
52
53
+ void Launcher::ensure_connection ()
54
+ {
55
+ [[maybe_unused]] auto & conn = connection ();
56
+ }
57
+
53
58
ErrorOr<void > Launcher::add_allowed_url (URL const & url)
54
59
{
55
60
auto response_or_error = connection ().try_add_allowed_url (url);
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ class Launcher {
31
31
static NonnullRefPtr<Details> from_details_str (const String&);
32
32
};
33
33
34
+ static void ensure_connection ();
34
35
static ErrorOr<void > add_allowed_url (URL const &);
35
36
static ErrorOr<void > add_allowed_handler_with_any_url (String const & handler);
36
37
static ErrorOr<void > add_allowed_handler_with_only_specific_urls (String const & handler, Vector<URL> const &);
You can’t perform that action at this time.
0 commit comments