diff options
author | Lioncash <mathew1800@gmail.com> | 2018-08-31 12:21:34 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-08-31 16:30:14 -0400 |
commit | 4a587b81b285bcd41246329e89591be7cfe37c8a (patch) | |
tree | 8eda46d4aac083d23a52223e1a3fc46bc6690a6c /src/yuzu/main.h | |
parent | 42588493d5ad5d824fc557ac936e64e5e7fd7e44 (diff) |
core/core: Replace includes with forward declarations where applicable
The follow-up to e2457418dae19b889b2ad85255bb95d4cd0e4bff, which
replaces most of the includes in the core header with forward declarations.
This makes it so that if any of the headers the core header was
previously including change, then no one will need to rebuild the bulk
of the core, due to core.h being quite a prevalent inclusion.
This should make turnaround for changes much faster for developers.
Diffstat (limited to 'src/yuzu/main.h')
-rw-r--r-- | src/yuzu/main.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/yuzu/main.h b/src/yuzu/main.h index fd2436f4d..0b97e8220 100644 --- a/src/yuzu/main.h +++ b/src/yuzu/main.h @@ -5,6 +5,7 @@ #pragma once #include <memory> +#include <unordered_map> #include <QMainWindow> #include <QTimer> #include "core/core.h" @@ -23,6 +24,10 @@ class ProfilerWidget; class WaitTreeWidget; enum class GameListOpenTarget; +namespace FileSys { +class VfsFilesystem; +} + namespace Tegra { class DebugContext; } @@ -169,7 +174,7 @@ private: QString game_path; // FS - FileSys::VirtualFilesystem vfs; + std::shared_ptr<FileSys::VfsFilesystem> vfs; // Debugger panes ProfilerWidget* profilerWidget; |