|
ReXGlue SDK
|
#include <memory>#include <string_view>#include <rex/app/app.h>#include <rex/cli.h>#include <rex/ppc/image.h>#include <rex/platform.h>#include <rex/result.h>#include <rex/kernel/title_runtime.h>#include <rex/kernel/title_exit.h>Go to the source code of this file.
Classes | |
| class | rex::app::TitleApp |
Namespaces | |
| namespace | rex |
Macros | |
| #define | REX_TITLE_APP(AppClass) |
| #define | REX_TITLE_APP_MAIN(AppClass, Function) |
| #define REX_TITLE_APP | ( | AppClass | ) |
Defines main, and wWinMain on Windows, for a title app. An exception that escapes is printed to stderr and the exit code is 1.
| AppClass | A class deriving from rex::app::TitleApp whose default constructor passes the app name and the kPPCImageConfig that the codegen init header declares to TitleApp. |
| #define REX_TITLE_APP_MAIN | ( | AppClass, | |
| Function ) |
Defines the entry point for a title app that calls its own steps, such as one with an installer.
| AppClass | A class deriving from rex::app::TitleApp with a default constructor. |
| Function | A function taking AppClass& and const rex::CLIArgList&, returning int. |