diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-10-14 20:32:19 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-10-15 23:35:33 +0200 |
commit | f0dc07dbac1fdddf75239ddbdaf643cd3a57f205 (patch) | |
tree | cdae19c680367e339423f4d981e31770137c7c65 /src/yuzu/main.h | |
parent | core: Move ResultStatus outside of System (diff) | |
download | yuzu-f0dc07dbac1fdddf75239ddbdaf643cd3a57f205.tar yuzu-f0dc07dbac1fdddf75239ddbdaf643cd3a57f205.tar.gz yuzu-f0dc07dbac1fdddf75239ddbdaf643cd3a57f205.tar.bz2 yuzu-f0dc07dbac1fdddf75239ddbdaf643cd3a57f205.tar.lz yuzu-f0dc07dbac1fdddf75239ddbdaf643cd3a57f205.tar.xz yuzu-f0dc07dbac1fdddf75239ddbdaf643cd3a57f205.tar.zst yuzu-f0dc07dbac1fdddf75239ddbdaf643cd3a57f205.zip |
Diffstat (limited to '')
-rw-r--r-- | src/yuzu/main.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/yuzu/main.h b/src/yuzu/main.h index b96ac8da3..aed15a0a0 100644 --- a/src/yuzu/main.h +++ b/src/yuzu/main.h @@ -13,7 +13,6 @@ #include <QTranslator> #include "common/common_types.h" -#include "core/core.h" #include "core/hle/service/acc/profile_manager.h" #include "yuzu/compatibility_list.h" #include "yuzu/hotkeys.h" @@ -44,6 +43,11 @@ enum class StartGameType { Global, // Only uses global configuration }; +namespace Core { +enum class SystemResultStatus : u32; +class System; +} // namespace Core + namespace Core::Frontend { struct ControllerParameters; struct InlineAppearParameters; @@ -110,7 +114,7 @@ class GMainWindow : public QMainWindow { public: void filterBarSetChecked(bool state); void UpdateUITheme(); - GMainWindow(Core::System& system_); + explicit GMainWindow(); ~GMainWindow() override; bool DropAction(QDropEvent* event); @@ -311,11 +315,10 @@ private: std::unique_ptr<Ui::MainWindow> ui; + std::unique_ptr<Core::System> system; std::unique_ptr<DiscordRPC::DiscordInterface> discord_rpc; std::shared_ptr<InputCommon::InputSubsystem> input_subsystem; - Core::System& system; - GRenderWindow* render_window; GameList* game_list; LoadingScreen* loading_screen; |