diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-11-09 05:27:33 +0100 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-12-18 16:33:27 +0100 |
commit | a5750f437d58e63ed76235d171732ca25dd34be2 (patch) | |
tree | 7bfe08b3fe89b463abe08c71f1be0e3ab8c79968 /src/core/hle/service/am/applets/web_browser.h | |
parent | applets: Remove the previous web browser applet implementation (diff) | |
download | yuzu-a5750f437d58e63ed76235d171732ca25dd34be2.tar yuzu-a5750f437d58e63ed76235d171732ca25dd34be2.tar.gz yuzu-a5750f437d58e63ed76235d171732ca25dd34be2.tar.bz2 yuzu-a5750f437d58e63ed76235d171732ca25dd34be2.tar.lz yuzu-a5750f437d58e63ed76235d171732ca25dd34be2.tar.xz yuzu-a5750f437d58e63ed76235d171732ca25dd34be2.tar.zst yuzu-a5750f437d58e63ed76235d171732ca25dd34be2.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/am/applets/web_browser.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/core/hle/service/am/applets/web_browser.h b/src/core/hle/service/am/applets/web_browser.h index 0584142e5..a1ed5fd1d 100644 --- a/src/core/hle/service/am/applets/web_browser.h +++ b/src/core/hle/service/am/applets/web_browser.h @@ -8,6 +8,7 @@ #include "common/common_types.h" #include "core/hle/result.h" #include "core/hle/service/am/applets/applets.h" +#include "core/hle/service/am/applets/web_types.h" namespace Core { class System; @@ -28,12 +29,36 @@ public: void ExecuteInteractive() override; void Execute() override; + void WebBrowserExit(WebExitReason exit_reason, std::string last_url = ""); + private: + // Initializers for the various types of browser applets + void InitializeShop(); + void InitializeLogin(); + void InitializeOffline(); + void InitializeShare(); + void InitializeWeb(); + void InitializeWifi(); + void InitializeLobby(); + + // Executors for the various types of browser applets + void ExecuteShop(); + void ExecuteLogin(); + void ExecuteOffline(); + void ExecuteShare(); + void ExecuteWeb(); + void ExecuteWifi(); + void ExecuteLobby(); + const Core::Frontend::WebBrowserApplet& frontend; bool complete{false}; ResultCode status{RESULT_SUCCESS}; + WebAppletVersion web_applet_version; + WebArgHeader web_arg_header; + WebArgInputTLVMap web_arg_input_tlv_map; + Core::System& system; }; |