1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-17 17:36:44 +00:00
Atmosphere/stratosphere/loader/source/ldr_content_management.hpp

16 lines
569 B
C++

#pragma once
#include <switch.h>
#include "ldr_registration.hpp"
class ContentManagement {
public:
Result MountCode(u64 tid, FsStorageId sid);
Result UnmountCode();
Result MountCodeForTidSid(Registration::TidSid *tid_sid);
Result GetContentPath(char *out_path, u64 tid, FsStorageId sid);
Result SetContentPath(char *path, u64 tid, FsStorageId sid);
Result GetContentPathForTidSid(char *out_path, Registration::TidSid *tid_sid);
Result SetContentPathForTidSid(char *path, Registration::TidSid *tid_sid);
};