2018-12-24 21:21:41 +00:00
|
|
|
// Copyright 2018 yuzu emulator team
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#include "common/logging/log.h"
|
|
|
|
#include "core/frontend/applets/web_browser.h"
|
|
|
|
|
|
|
|
namespace Core::Frontend {
|
|
|
|
|
|
|
|
WebBrowserApplet::~WebBrowserApplet() = default;
|
|
|
|
|
|
|
|
DefaultWebBrowserApplet::~DefaultWebBrowserApplet() = default;
|
|
|
|
|
2019-06-05 16:13:15 +00:00
|
|
|
void DefaultWebBrowserApplet::OpenPageLocal(std::string_view filename,
|
|
|
|
std::function<void()> unpack_romfs_callback,
|
|
|
|
std::function<void()> finished_callback) {
|
2018-12-24 21:21:41 +00:00
|
|
|
LOG_INFO(Service_AM,
|
|
|
|
"(STUBBED) called - No suitable web browser implementation found to open website page "
|
|
|
|
"at '{}'!",
|
|
|
|
filename);
|
|
|
|
finished_callback();
|
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace Core::Frontend
|