diff options
author | bunnei <bunneidev@gmail.com> | 2018-10-13 04:55:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-13 04:55:49 +0200 |
commit | 1584fb6b385d51ef40e1e22c180322a552d9c98a (patch) | |
tree | f129dca6721bac37c7cd96657cdcc77401899f1c /src/core/file_sys | |
parent | Merge pull request #1483 from lioncash/codeset (diff) | |
parent | partition_data_manager: Rename system files for hekate (diff) | |
download | yuzu-1584fb6b385d51ef40e1e22c180322a552d9c98a.tar yuzu-1584fb6b385d51ef40e1e22c180322a552d9c98a.tar.gz yuzu-1584fb6b385d51ef40e1e22c180322a552d9c98a.tar.bz2 yuzu-1584fb6b385d51ef40e1e22c180322a552d9c98a.tar.lz yuzu-1584fb6b385d51ef40e1e22c180322a552d9c98a.tar.xz yuzu-1584fb6b385d51ef40e1e22c180322a552d9c98a.tar.zst yuzu-1584fb6b385d51ef40e1e22c180322a552d9c98a.zip |
Diffstat (limited to 'src/core/file_sys')
-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 |