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

17 lines
569 B
C++
Raw Normal View History

#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);
};