From a813c10e1c71318925f2e65f2b0926099485bbc4 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 3 Sep 2018 21:58:19 -0400 Subject: 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. --- src/core/file_sys/registered_cache.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/core/file_sys/registered_cache.h') 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 #include #include -#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; using RegisteredCacheParsingFunction = std::function; -- cgit v1.2.3