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

Backup a Rom file. More...

#include <command.h>

Inheritance diagram for yaze::cli::Backup:
Collaboration diagram for yaze::cli::Backup:

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

Backup a Rom file.

Definition at line 90 of file command.h.

Member Function Documentation

◆ handle()

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

Implements yaze::cli::CommandHandler.

Definition at line 92 of file command.h.

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

Here is the call graph for this function:

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