summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/Volume.h
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2017-05-19 18:33:21 +0200
committerJosJuice <josjuice@gmail.com>2017-05-19 18:33:21 +0200
commitac5c82b36b4fc2bf99e9f7552ac83febeff8fc5c (patch)
tree074dc847a2c34aaf089b4d0103be34b8712dd3c2 /Source/Core/DiscIO/Volume.h
parent56b218a7505d11b72dec1d5b36e948f77950331a (diff)
DiscIO: Remove VolumeCreator
This file is pretty small now that it doesn't handle Wii partitions anymore, so let's move its contents to Volume.cpp. This is also more consistent with how blob creation works.
Diffstat (limited to 'Source/Core/DiscIO/Volume.h')
-rw-r--r--Source/Core/DiscIO/Volume.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/Core/DiscIO/Volume.h b/Source/Core/DiscIO/Volume.h
index d03e168709..1d98d69c46 100644
--- a/Source/Core/DiscIO/Volume.h
+++ b/Source/Core/DiscIO/Volume.h
@@ -7,6 +7,7 @@
#include <cstring>
#include <limits>
#include <map>
+#include <memory>
#include <string>
#include <vector>
@@ -112,4 +113,9 @@ protected:
static const size_t NAMES_TOTAL_BYTES = NAME_BYTES_LENGTH * NUMBER_OF_LANGUAGES;
};
+std::unique_ptr<IVolume> CreateVolumeFromFilename(const std::string& filename);
+std::unique_ptr<IVolume> CreateVolumeFromDirectory(const std::string& directory, bool is_wii,
+ const std::string& apploader = "",
+ const std::string& dol = "");
+
} // namespace