Atmosphere/stratosphere/loader/source/ldr_shell.hpp

19 lines
No EOL
557 B
C++

#pragma once
#include <switch.h>
#include "iserviceobject.hpp"
enum ShellServiceCmd {
Cmd_AddTitleToLaunchQueue = 0,
Cmd_ClearLaunchQueue = 1
};
class ShellService : IServiceObject {
public:
Result dispatch(IpcParsedCommand *r, IpcCommand *out_c, 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();
};