yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::cli::Expand Class Reference

Expand a Rom file. More...

#include <command.h>

Inheritance diagram for yaze::cli::Expand:
Collaboration diagram for yaze::cli::Expand:

Public Member Functions

absl::Status handle (const std::vector< std::string > &arg_vec) override
 
- Public Member Functions inherited from yaze::cli::CommandHandler
 CommandHandler ()=default
 
virtual ~CommandHandler ()=default
 

Additional Inherited Members

- Public Attributes inherited from yaze::cli::CommandHandler
app::Rom rom_
 

Detailed Description

Expand a Rom file.

Parameters
arg_vec-x <rom_file> <file_size>
Returns
absl::Status

Definition at line 225 of file command.h.

Member Function Documentation

◆ handle()

absl::Status yaze::cli::Expand::handle ( const std::vector< std::string > & arg_vec)
inlineoverridevirtual

Implements yaze::cli::CommandHandler.

Definition at line 227 of file command.h.

References yaze::app::Rom::Expand(), yaze::app::Rom::LoadFromFile(), RETURN_IF_ERROR, and yaze::cli::CommandHandler::rom_.

Here is the call graph for this function:

The documentation for this class was generated from the following file: