mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-14 07:04:24 -04:00
Stratosphere: Skeleton ldr:shel
This commit is contained in:
parent
b8ad7125ca
commit
5345d7c206
2 changed files with 64 additions and 0 deletions
19
stratosphere/loader/source/ldr_shell.hpp
Normal file
19
stratosphere/loader/source/ldr_shell.hpp
Normal file
|
@ -0,0 +1,19 @@
|
|||
#pragma once
|
||||
#include <switch.h>
|
||||
|
||||
#include "iserviceobject.hpp"
|
||||
|
||||
enum ShellServiceCmd {
|
||||
Cmd_AddTitleToLaunchQueue = 0,
|
||||
Cmd_ClearLaunchQueue = 1
|
||||
};
|
||||
|
||||
class ShellService : IServiceObject {
|
||||
public:
|
||||
Result dispatch(IpcParsedCommand *r, u32 *cmd_buf, u32 cmd_id, u32 *in_rawdata, u32 in_rawdata_size, u32 *out_rawdata, u32 *out_raw_data_count);
|
||||
|
||||
private:
|
||||
/* Actual commands. */
|
||||
Result add_title_to_launch_queue(u64 tid, const char *args, size_t args_size);
|
||||
Result clear_launch_queue();
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue