summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am/applets/web_browser.h
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2020-11-30 16:15:00 +0100
committerMorph <39850852+Morph1984@users.noreply.github.com>2020-12-18 16:33:28 +0100
commit8b95bf041da573459e953e27eee2dcf30208b02d (patch)
treef3213286284f1931b1de5d3af67d1e632d2e1bd1 /src/core/hle/service/am/applets/web_browser.h
parentapplets/web: Implement the Qt web browser applet frontend (diff)
downloadyuzu-8b95bf041da573459e953e27eee2dcf30208b02d.tar
yuzu-8b95bf041da573459e953e27eee2dcf30208b02d.tar.gz
yuzu-8b95bf041da573459e953e27eee2dcf30208b02d.tar.bz2
yuzu-8b95bf041da573459e953e27eee2dcf30208b02d.tar.lz
yuzu-8b95bf041da573459e953e27eee2dcf30208b02d.tar.xz
yuzu-8b95bf041da573459e953e27eee2dcf30208b02d.tar.zst
yuzu-8b95bf041da573459e953e27eee2dcf30208b02d.zip
Diffstat (limited to 'src/core/hle/service/am/applets/web_browser.h')
-rw-r--r--src/core/hle/service/am/applets/web_browser.h10
1 files changed, 10 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 c36c717f1..936a49a86 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_funcs.h"
#include "common/common_types.h"
+#include "core/file_sys/vfs_types.h"
#include "core/hle/result.h"
#include "core/hle/service/am/applets/applets.h"
#include "core/hle/service/am/applets/web_types.h"
@@ -16,6 +17,10 @@ namespace Core {
class System;
}
+namespace FileSys {
+enum class ContentRecordType : u8;
+}
+
namespace Service::AM::Applets {
class WebBrowser final : public Applet {
@@ -31,6 +36,8 @@ public:
void ExecuteInteractive() override;
void Execute() override;
+ void ExtractOfflineRomFS();
+
void WebBrowserExit(WebExitReason exit_reason, std::string last_url = "");
private:
@@ -66,8 +73,11 @@ private:
WebArgHeader web_arg_header;
WebArgInputTLVMap web_arg_input_tlv_map;
+ u64 title_id;
+ FileSys::ContentRecordType nca_type;
std::string offline_cache_dir;
std::string offline_document;
+ FileSys::VirtualFile offline_romfs;
Core::System& system;
};