summaryrefslogtreecommitdiffstats
path: root/src/core/frontend/applets/web_browser.h
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2020-12-08 12:20:45 +0100
committerMorph <39850852+Morph1984@users.noreply.github.com>2020-12-18 16:33:28 +0100
commit82fa9f8d56bc285e7bb58fc81b495a55be9ea82c (patch)
tree19ca59277d5730dc76d632ab1f0a135f25f19415 /src/core/frontend/applets/web_browser.h
parentapplets/web: Fix keyboard to emulated controller input (diff)
downloadyuzu-82fa9f8d56bc285e7bb58fc81b495a55be9ea82c.tar
yuzu-82fa9f8d56bc285e7bb58fc81b495a55be9ea82c.tar.gz
yuzu-82fa9f8d56bc285e7bb58fc81b495a55be9ea82c.tar.bz2
yuzu-82fa9f8d56bc285e7bb58fc81b495a55be9ea82c.tar.lz
yuzu-82fa9f8d56bc285e7bb58fc81b495a55be9ea82c.tar.xz
yuzu-82fa9f8d56bc285e7bb58fc81b495a55be9ea82c.tar.zst
yuzu-82fa9f8d56bc285e7bb58fc81b495a55be9ea82c.zip
Diffstat (limited to 'src/core/frontend/applets/web_browser.h')
-rw-r--r--src/core/frontend/applets/web_browser.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/frontend/applets/web_browser.h b/src/core/frontend/applets/web_browser.h
index 5b0629cfb..1c5ef19a9 100644
--- a/src/core/frontend/applets/web_browser.h
+++ b/src/core/frontend/applets/web_browser.h
@@ -18,6 +18,10 @@ public:
virtual void OpenLocalWebPage(
std::string_view local_url, std::function<void()> extract_romfs_callback,
std::function<void(Service::AM::Applets::WebExitReason, std::string)> callback) const = 0;
+
+ virtual void OpenExternalWebPage(
+ std::string_view external_url,
+ std::function<void(Service::AM::Applets::WebExitReason, std::string)> callback) const = 0;
};
class DefaultWebBrowserApplet final : public WebBrowserApplet {
@@ -27,6 +31,10 @@ public:
void OpenLocalWebPage(std::string_view local_url, std::function<void()> extract_romfs_callback,
std::function<void(Service::AM::Applets::WebExitReason, std::string)>
callback) const override;
+
+ void OpenExternalWebPage(std::string_view external_url,
+ std::function<void(Service::AM::Applets::WebExitReason, std::string)>
+ callback) const override;
};
} // namespace Core::Frontend