diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-08-20 20:24:13 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-08-20 20:27:00 -0400 |
| commit | 96463d0a55b11f73417941f2c29ca24f08196878 (patch) | |
| tree | ea1fb4b71ce40a62213f02a5ddbaa4502bbe54ec /src/core/file_sys/romfs_factory.h | |
| parent | dd70ddad7edb7cfbdddaed0ac657544a613d46e2 (diff) | |
romfs_factory: Remove unnecessary includes and use forward declarations where applicable
Avoids the need to rebuild whatever includes the romfs factory header if
the loader header ever changes. We also don't need to include the main
core header. We can instead include the headers we specifically need.
Diffstat (limited to 'src/core/file_sys/romfs_factory.h')
| -rw-r--r-- | src/core/file_sys/romfs_factory.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/file_sys/romfs_factory.h b/src/core/file_sys/romfs_factory.h index 455cd4159..f38ddc4f7 100644 --- a/src/core/file_sys/romfs_factory.h +++ b/src/core/file_sys/romfs_factory.h @@ -6,11 +6,17 @@ #include <memory> #include "common/common_types.h" +#include "core/file_sys/vfs.h" #include "core/hle/result.h" -#include "core/loader/loader.h" + +namespace Loader { +class AppLoader; +} // namespace Loader namespace FileSys { +enum class ContentRecordType : u8; + enum class StorageId : u8 { None = 0, Host = 1, |
