mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-15 17:18:21 -05:00
main, applets/web: Re-add progress dialog for RomFS extraction
This commit is contained in:
@ -9,8 +9,6 @@
|
||||
|
||||
#include "core/hle/service/am/applets/web_types.h"
|
||||
|
||||
using namespace Service::AM::Applets;
|
||||
|
||||
namespace Core::Frontend {
|
||||
|
||||
class WebBrowserApplet {
|
||||
@ -18,16 +16,17 @@ public:
|
||||
virtual ~WebBrowserApplet();
|
||||
|
||||
virtual void OpenLocalWebPage(
|
||||
std::string_view local_url,
|
||||
std::function<void(WebExitReason, std::string)> callback) const = 0;
|
||||
std::string_view local_url, std::function<void()> extract_romfs_callback,
|
||||
std::function<void(Service::AM::Applets::WebExitReason, std::string)> callback) const = 0;
|
||||
};
|
||||
|
||||
class DefaultWebBrowserApplet final : public WebBrowserApplet {
|
||||
public:
|
||||
~DefaultWebBrowserApplet() override;
|
||||
|
||||
void OpenLocalWebPage(std::string_view local_url,
|
||||
std::function<void(WebExitReason, std::string)> callback) const override;
|
||||
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;
|
||||
};
|
||||
|
||||
} // namespace Core::Frontend
|
||||
|
Reference in New Issue
Block a user