diff options
author | Liam <byteslice@airmail.cc> | 2023-03-25 18:29:08 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-03-25 19:49:43 +0100 |
commit | 50a59487eb49baa229d553dd9a3c00aef20f799f (patch) | |
tree | 49ed16c5614ad4772f5183ac7bbbb911ce092c1a /src/core/frontend/applets/web_browser.h | |
parent | applets: implement RequestExit (diff) | |
download | yuzu-50a59487eb49baa229d553dd9a3c00aef20f799f.tar yuzu-50a59487eb49baa229d553dd9a3c00aef20f799f.tar.gz yuzu-50a59487eb49baa229d553dd9a3c00aef20f799f.tar.bz2 yuzu-50a59487eb49baa229d553dd9a3c00aef20f799f.tar.lz yuzu-50a59487eb49baa229d553dd9a3c00aef20f799f.tar.xz yuzu-50a59487eb49baa229d553dd9a3c00aef20f799f.tar.zst yuzu-50a59487eb49baa229d553dd9a3c00aef20f799f.zip |
Diffstat (limited to 'src/core/frontend/applets/web_browser.h')
-rw-r--r-- | src/core/frontend/applets/web_browser.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/frontend/applets/web_browser.h b/src/core/frontend/applets/web_browser.h index 4f72284ad..178bbdd3f 100644 --- a/src/core/frontend/applets/web_browser.h +++ b/src/core/frontend/applets/web_browser.h @@ -5,11 +5,12 @@ #include <functional> +#include "core/frontend/applets/applet.h" #include "core/hle/service/am/applets/applet_web_browser_types.h" namespace Core::Frontend { -class WebBrowserApplet { +class WebBrowserApplet : public Applet { public: using ExtractROMFSCallback = std::function<void()>; using OpenWebPageCallback = @@ -29,6 +30,8 @@ class DefaultWebBrowserApplet final : public WebBrowserApplet { public: ~DefaultWebBrowserApplet() override; + void Close() const override; + void OpenLocalWebPage(const std::string& local_url, ExtractROMFSCallback extract_romfs_callback, OpenWebPageCallback callback) const override; |