2020-11-08 12:17:12 +00:00
|
|
|
// Copyright 2020 yuzu Emulator Project
|
2018-12-24 21:22:49 +00:00
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QObject>
|
2018-12-28 23:20:29 +00:00
|
|
|
|
|
|
|
#ifdef YUZU_USE_QT_WEB_ENGINE
|
2018-12-24 21:22:49 +00:00
|
|
|
#include <QWebEngineView>
|
2018-12-28 23:20:29 +00:00
|
|
|
#endif
|
|
|
|
|
2018-12-24 21:22:49 +00:00
|
|
|
#include "core/frontend/applets/web_browser.h"
|
|
|
|
|
|
|
|
class GMainWindow;
|
|
|
|
|
|
|
|
class QtWebBrowser final : public QObject, public Core::Frontend::WebBrowserApplet {
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit QtWebBrowser(GMainWindow& main_window);
|
|
|
|
~QtWebBrowser() override;
|
|
|
|
};
|