summaryrefslogtreecommitdiff
path: root/src/core/loader/loader.h
diff options
context:
space:
mode:
authorGravatar Lioncash2018-09-02 10:53:06 -0400
committerGravatar Lioncash2018-09-02 12:38:14 -0400
commita40537314405d62baa012836da9bba24ad4b02e5 (patch)
treee713eda9ce20870d7e803989d555e7842eab3415 /src/core/loader/loader.h
parentMerge pull request #1213 from DarkLordZach/octopath-fs (diff)
downloadyuzu-a40537314405d62baa012836da9bba24ad4b02e5.tar.gz
yuzu-a40537314405d62baa012836da9bba24ad4b02e5.tar.xz
yuzu-a40537314405d62baa012836da9bba24ad4b02e5.zip
vfs_real: Forward declare IOFile
Eliminates the need to rebuild some source files if the file_util header ever changes. This also uncovered some indirect inclusions, which have also been fixed.
Diffstat (limited to 'src/core/loader/loader.h')
-rw-r--r--src/core/loader/loader.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/loader/loader.h b/src/core/loader/loader.h
index 885fee84c..5a8540b0e 100644
--- a/src/core/loader/loader.h
+++ b/src/core/loader/loader.h
@@ -4,7 +4,6 @@
4 4
5#pragma once 5#pragma once
6 6
7#include <algorithm>
8#include <iosfwd> 7#include <iosfwd>
9#include <memory> 8#include <memory>
10#include <string> 9#include <string>
@@ -12,7 +11,6 @@
12#include <vector> 11#include <vector>
13#include <boost/optional.hpp> 12#include <boost/optional.hpp>
14#include "common/common_types.h" 13#include "common/common_types.h"
15#include "common/file_util.h"
16#include "core/file_sys/vfs.h" 14#include "core/file_sys/vfs.h"
17#include "core/hle/kernel/object.h" 15#include "core/hle/kernel/object.h"
18 16
@@ -114,8 +112,8 @@ std::ostream& operator<<(std::ostream& os, ResultStatus status);
114/// Interface for loading an application 112/// Interface for loading an application
115class AppLoader : NonCopyable { 113class AppLoader : NonCopyable {
116public: 114public:
117 explicit AppLoader(FileSys::VirtualFile file) : file(std::move(file)) {} 115 explicit AppLoader(FileSys::VirtualFile file);
118 virtual ~AppLoader() {} 116 virtual ~AppLoader();
119 117
120 /** 118 /**
121 * Returns the type of this file 119 * Returns the type of this file