summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/caps/caps_manager.h
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2023-10-12 02:41:56 +0200
committerNarr the Reg <juangerman-13@hotmail.com>2023-10-12 04:01:33 +0200
commitfe04a7523a1f06f62fc1cb2337d7718664aaae2f (patch)
tree0053f7c8db1dd62ea5d148ce21e531acdd595a21 /src/core/hle/service/caps/caps_manager.h
parentMerge pull request #11720 from lat9nq/dbg-syms (diff)
downloadyuzu-fe04a7523a1f06f62fc1cb2337d7718664aaae2f.tar
yuzu-fe04a7523a1f06f62fc1cb2337d7718664aaae2f.tar.gz
yuzu-fe04a7523a1f06f62fc1cb2337d7718664aaae2f.tar.bz2
yuzu-fe04a7523a1f06f62fc1cb2337d7718664aaae2f.tar.lz
yuzu-fe04a7523a1f06f62fc1cb2337d7718664aaae2f.tar.xz
yuzu-fe04a7523a1f06f62fc1cb2337d7718664aaae2f.tar.zst
yuzu-fe04a7523a1f06f62fc1cb2337d7718664aaae2f.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/caps/caps_manager.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/core/hle/service/caps/caps_manager.h b/src/core/hle/service/caps/caps_manager.h
index 8337c655c..f65eb12c1 100644
--- a/src/core/hle/service/caps/caps_manager.h
+++ b/src/core/hle/service/caps/caps_manager.h
@@ -37,7 +37,7 @@ namespace Service::Capture {
class AlbumManager {
public:
- explicit AlbumManager();
+ explicit AlbumManager(Core::System& system_);
~AlbumManager();
Result DeleteAlbumFile(const AlbumFileId& file_id);
@@ -45,6 +45,9 @@ public:
Result GetAlbumFileList(std::vector<AlbumEntry>& out_entries, AlbumStorage storage,
u8 flags) const;
Result GetAlbumFileList(std::vector<ApplicationAlbumFileEntry>& out_entries,
+ ContentType contex_type, s64 start_posix_time, s64 end_posix_time,
+ u64 aruid) const;
+ Result GetAlbumFileList(std::vector<ApplicationAlbumEntry>& out_entries,
ContentType contex_type, AlbumFileDateTime start_date,
AlbumFileDateTime end_date, u64 aruid) const;
Result GetAutoSavingStorage(bool& out_is_autosaving) const;
@@ -65,8 +68,12 @@ private:
Result LoadImage(std::span<u8> out_image, const std::filesystem::path& path, int width,
int height, ScreenShotDecoderFlag flag) const;
+ AlbumFileDateTime ConvertToAlbumDateTime(u64 posix_time) const;
+
bool is_mounted{};
std::unordered_map<AlbumFileId, std::filesystem::path> album_files;
+
+ Core::System& system;
};
} // namespace Service::Capture