mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-31 06:48:22 -04:00
pgl: update with client C++ bindings
This commit is contained in:
parent
e14dc18bd3
commit
eca2b453ae
5 changed files with 140 additions and 5 deletions
|
@ -24,12 +24,13 @@ namespace ams::pgl {
|
|||
Result Initialize();
|
||||
void Finalize();
|
||||
|
||||
Result LaunchProgram(const ncm::ProgramLocation &loc, u32 process_flags, u8 pgl_flags);
|
||||
Result LaunchProgram(os::ProcessId *out, const ncm::ProgramLocation &loc, u32 process_flags, u8 pgl_flags);
|
||||
Result TerminateProcess(os::ProcessId process_id);
|
||||
Result LaunchProgramFromHost(const char *content_path, u32 process_flags);
|
||||
Result LaunchProgramFromHost(os::ProcessId *out, const char *content_path, u32 process_flags);
|
||||
Result GetHostContentMetaInfo(pgl::ContentMetaInfo *out, const char *content_path);
|
||||
Result GetApplicationProcessId(os::ProcessId *out);
|
||||
Result BoostSystemMemoryResourceLimit(u64 size);
|
||||
Result IsProcessTracked(bool *out, os::ProcessId process_id);
|
||||
Result EnableApplicationCrashReport(bool enabled);
|
||||
Result IsApplicationCrashReportEnabled(bool *out);
|
||||
Result EnableApplicationAllThreadDumpOnCrash(bool enabled);
|
||||
|
|
|
@ -31,7 +31,7 @@ namespace ams::pgl {
|
|||
enum class SnapShotDumpType : u32 {
|
||||
None = 0,
|
||||
Auto = 1,
|
||||
Full = 1,
|
||||
Full = 2,
|
||||
};
|
||||
|
||||
/* TODO: Is this really nn::ncm::Content<Something>Info? */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue