diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-09-03 21:58:19 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-09-03 22:52:24 -0400 |
| commit | a813c10e1c71318925f2e65f2b0926099485bbc4 (patch) | |
| tree | fc7894ea6e04e565ff4eb29c94b95f8d72a61521 /src/core/file_sys/registered_cache.h | |
| parent | 1c5636e690ca5844b396f97adc0a094558edc56f (diff) | |
file_sys: Replace includes with forward declarations where applicable
Cuts down on include dependencies, resulting in less files that need to
be rebuilt when certain things are changed.
Diffstat (limited to 'src/core/file_sys/registered_cache.h')
| -rw-r--r-- | src/core/file_sys/registered_cache.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/core/file_sys/registered_cache.h b/src/core/file_sys/registered_cache.h index 7b8955dfa..fe2cdc3d9 100644 --- a/src/core/file_sys/registered_cache.h +++ b/src/core/file_sys/registered_cache.h @@ -11,15 +11,18 @@ #include <string> #include <vector> #include <boost/container/flat_map.hpp> -#include "common/common_funcs.h" #include "common/common_types.h" -#include "content_archive.h" -#include "core/file_sys/nca_metadata.h" #include "core/file_sys/vfs.h" namespace FileSys { -class XCI; class CNMT; +class NCA; +class XCI; + +enum class ContentRecordType : u8; +enum class TitleType : u8; + +struct ContentRecord; using NcaID = std::array<u8, 0x10>; using RegisteredCacheParsingFunction = std::function<VirtualFile(const VirtualFile&, const NcaID&)>; |
