diff options
author | archshift <admin@archshift.com> | 2014-11-04 09:04:25 +0100 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-11-10 19:53:26 +0100 |
commit | 0ad5964c8b6d7141c6f2a542901a97a280edc545 (patch) | |
tree | 81e8d962ef0f84faac9c9a63152953b881183c5f /src/core/hle/service/fs_user.h | |
parent | Merge pull request #169 from archshift/autoplay (diff) | |
download | yuzu-0ad5964c8b6d7141c6f2a542901a97a280edc545.tar yuzu-0ad5964c8b6d7141c6f2a542901a97a280edc545.tar.gz yuzu-0ad5964c8b6d7141c6f2a542901a97a280edc545.tar.bz2 yuzu-0ad5964c8b6d7141c6f2a542901a97a280edc545.tar.lz yuzu-0ad5964c8b6d7141c6f2a542901a97a280edc545.tar.xz yuzu-0ad5964c8b6d7141c6f2a542901a97a280edc545.tar.zst yuzu-0ad5964c8b6d7141c6f2a542901a97a280edc545.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/fs_user.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/core/hle/service/fs_user.h b/src/core/hle/service/fs_user.h index 005382540..44f89ef4a 100644 --- a/src/core/hle/service/fs_user.h +++ b/src/core/hle/service/fs_user.h @@ -11,6 +11,35 @@ namespace FS_User { +class FS_Path { +public: + // Command to access archive file + enum LowPathType : u32 { + Invalid = 0, + Empty = 1, + Binary = 2, + Char = 3, + Wchar = 4 + }; + + FS_Path(LowPathType type, u32 size, u32 pointer); + + LowPathType GetType() const; + + const std::vector<u8>& GetBinary() const; + const std::string& GetString() const; + const std::u16string& GetU16Str() const; + + std::string AsString(); + std::u16string AsU16Str(); + +private: + LowPathType type; + std::vector<u8> binary; + std::string string; + std::u16string u16str; +}; + /// Interface to "fs:USER" service class Interface : public Service::Interface { public: |