aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/card_image.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-09-03 21:58:19 -0400
committerLioncash <mathew1800@gmail.com>2018-09-03 22:52:24 -0400
commita813c10e1c71318925f2e65f2b0926099485bbc4 (patch)
treefc7894ea6e04e565ff4eb29c94b95f8d72a61521 /src/core/file_sys/card_image.h
parent1c5636e690ca5844b396f97adc0a094558edc56f (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/card_image.h')
-rw-r--r--src/core/file_sys/card_image.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/core/file_sys/card_image.h b/src/core/file_sys/card_image.h
index 54ab828d1..4f104d18a 100644
--- a/src/core/file_sys/card_image.h
+++ b/src/core/file_sys/card_image.h
@@ -5,15 +5,21 @@
#pragma once
#include <array>
+#include <memory>
#include <vector>
#include "common/common_types.h"
#include "common/swap.h"
-#include "core/file_sys/content_archive.h"
#include "core/file_sys/vfs.h"
-#include "core/loader/loader.h"
+
+namespace Loader {
+enum class ResultStatus : u16;
+}
namespace FileSys {
+class NCA;
+enum class NCAContentType : u8;
+
enum class GamecardSize : u8 {
S_1GB = 0xFA,
S_2GB = 0xF8,
@@ -57,6 +63,7 @@ enum class XCIPartition : u8 { Update, Normal, Secure, Logo };
class XCI : public ReadOnlyVfsDirectory {
public:
explicit XCI(VirtualFile file);
+ ~XCI() override;
Loader::ResultStatus GetStatus() const;
Loader::ResultStatus GetProgramNCAStatus() const;