MCPcopy Create free account
hub / github.com/XorTroll/Goldleaf / LaunchWebAppletImpl

Function LaunchWebAppletImpl

Goldleaf/source/ui/ui_WebBrowserLayout.cpp:32–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 namespace {
31
32 inline Result LaunchWebAppletImpl(const std::string &page) {
33 WebCommonConfig web = {};
34 GLEAF_RC_TRY(webPageCreate(&web, page.c_str()));
35 GLEAF_RC_TRY(webConfigSetWhitelist(&web, ".*"));
36 if(acc::HasSelectedUser()) {
37 GLEAF_RC_TRY(webConfigSetUid(&web, acc::GetSelectedUser()));
38 }
39
40 return webConfigShow(&web, nullptr);
41 }
42
43 }
44

Callers 2

input_DefaultKeyMethod · 0.85
bookmark_DefaultKeyMethod · 0.85

Calls 2

HasSelectedUserFunction · 0.85
GetSelectedUserFunction · 0.85

Tested by

no test coverage detected