|
void | Prompt () |
| Displays the command prompt.
|
|
std::vector< str16 > | GetAvailableCommands () |
| Retrieves a list of available commands.
|
|
void | Register (CShellCmd *cmd_) |
| Registers a new command with the shell.
|
|
void | Input (u32 keycode_) |
| Processes an input keycode.
|
|
void | ExecShellScript (std::shared_ptr< std::string > script_) |
| Executes a shell script.
|
|
u32 | GetId () const |
| Get the ID of the object.
|
|
HObj | GetHandle () const |
| Get the handle of the object.
|
|
void | SetHandle (HObj hObj_) |
| Set the handle of the object.
|
|
void | SetPriority (u32 priority_) |
| Set the priority of the object.
|
|
u32 | GetPriority () const |
| Get the priority of the object.
|
|
void | ReqKill () |
| Request to kill the object.
|
|
bool | IsReqKill () const |
| Check if the object is requested to be killed.
|
|
u32 | GetTypeId () |
| Get the type ID of the object.
|
|
bool | IsTypeOf (u32 type_id_) |
| Check if the object is of a specific type.
|
|
|
void | SetTypeId (u32 type_id_) |
| Set the type ID of the object.
|
|
◆ ExecShellScript()
void CShellObj::ExecShellScript |
( |
std::shared_ptr< std::string > | script_ | ) |
|
Executes a shell script.
- Parameters
-
script_ | The script to execute. |
◆ GetAvailableCommands()
std::vector< str16 > CShellObj::GetAvailableCommands |
( |
| ) |
|
Retrieves a list of available commands.
- Returns
- A vector of available command names.
◆ Input()
void CShellObj::Input |
( |
u32 | keycode_ | ) |
|
Processes an input keycode.
- Parameters
-
keycode_ | The keycode to process. |
◆ Register()
Registers a new command with the shell.
- Parameters
-
cmd_ | The command to register. |
The documentation for this class was generated from the following files: