RetroArch
Public Member Functions | Public Attributes | List of all members
CLICallbacks Struct Reference

Public Member Functions

void add (const char *cli, const function< void(CLIParser &)> &func)
 

Public Attributes

unordered_map< string, function< void(CLIParser &)> > callbacks
 
function< void()> error_handler
 
function< void(const char *)> default_handler
 

Member Function Documentation

◆ add()

void CLICallbacks::add ( const char *  cli,
const function< void(CLIParser &)> &  func 
)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ callbacks

unordered_map<string, function<void(CLIParser &)> > CLICallbacks::callbacks

◆ default_handler

function<void(const char *)> CLICallbacks::default_handler

◆ error_handler

function<void()> CLICallbacks::error_handler

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