diff options
author | Zach Hilman <zachhilman@gmail.com> | 2018-09-24 02:41:24 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2018-10-07 19:15:11 +0200 |
commit | 1fa6ee4723527dc33d8891e8fa86633315850dd3 (patch) | |
tree | 439888cf38d25516c06adce3229a54354bb67d2a | |
parent | key_manager: Add support for console-specific keyfile (diff) | |
download | yuzu-1fa6ee4723527dc33d8891e8fa86633315850dd3.tar yuzu-1fa6ee4723527dc33d8891e8fa86633315850dd3.tar.gz yuzu-1fa6ee4723527dc33d8891e8fa86633315850dd3.tar.bz2 yuzu-1fa6ee4723527dc33d8891e8fa86633315850dd3.tar.lz yuzu-1fa6ee4723527dc33d8891e8fa86633315850dd3.tar.xz yuzu-1fa6ee4723527dc33d8891e8fa86633315850dd3.tar.zst yuzu-1fa6ee4723527dc33d8891e8fa86633315850dd3.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/file_sys/vfs.h | 10 | ||||
-rw-r--r-- | src/core/file_sys/vfs_types.h | 21 |
2 files changed, 22 insertions, 9 deletions
diff --git a/src/core/file_sys/vfs.h b/src/core/file_sys/vfs.h index 270291631..7f0d520ca 100644 --- a/src/core/file_sys/vfs.h +++ b/src/core/file_sys/vfs.h @@ -12,20 +12,12 @@ #include <vector> #include <boost/optional.hpp> #include "common/common_types.h" +#include "core/file_sys/vfs_types.h" namespace FileSys { -class VfsDirectory; -class VfsFile; -class VfsFilesystem; - enum class Mode : u32; -// Convenience typedefs to use Vfs* interfaces -using VirtualFilesystem = std::shared_ptr<VfsFilesystem>; -using VirtualDir = std::shared_ptr<VfsDirectory>; -using VirtualFile = std::shared_ptr<VfsFile>; - // An enumeration representing what can be at the end of a path in a VfsFilesystem enum class VfsEntryType { None, diff --git a/src/core/file_sys/vfs_types.h b/src/core/file_sys/vfs_types.h new file mode 100644 index 000000000..6215ed7af --- /dev/null +++ b/src/core/file_sys/vfs_types.h @@ -0,0 +1,21 @@ +// Copyright 2018 yuzu emulator team +// Licensed under GPLv2 or any later version +// Refer to the license.txt file included. + +#pragma once + +#include <memory> + +namespace FileSys { + +class VfsDirectory; +class VfsFile; +class VfsFilesystem; + +// Declarations for Vfs* pointer types + +using VirtualDir = std::shared_ptr<VfsDirectory>; +using VirtualFile = std::shared_ptr<VfsFile>; +using VirtualFilesystem = std::shared_ptr<VfsFilesystem>; + +} // namespace FileSys |