1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-06 04:01:44 +00:00
Atmosphere/stratosphere/loader/source/ldr_shell.hpp

19 lines
569 B
C++
Raw Normal View History

2018-04-18 10:57:18 +01:00
#pragma once
#include <switch.h>
#include "iserviceobject.hpp"
enum ShellServiceCmd {
Shell_Cmd_AddTitleToLaunchQueue = 0,
Shell_Cmd_ClearLaunchQueue = 1
2018-04-18 10:57:18 +01:00
};
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);
2018-04-18 10:57:18 +01:00
private:
/* Actual commands. */
Result add_title_to_launch_queue(u64 tid, const char *args, size_t args_size);
Result clear_launch_queue();
};