libctru
v2.4.1
|
Error applet. More...
#include <3ds/types.h>
Go to the source code of this file.
Data Structures | |
struct | errorConf |
Enumerations | |
enum | { ERROR_LANGUAGE_FLAG = 0x100 , ERROR_WORD_WRAP_FLAG = 0x200 } |
enum | errorType { ERROR_CODE = 0 , ERROR_TEXT , ERROR_EULA , ERROR_TYPE_EULA_FIRST_BOOT , ERROR_TYPE_EULA_DRAW_ONLY , ERROR_TYPE_AGREE , ERROR_CODE_LANGUAGE = ERROR_CODE | ERROR_LANGUAGE_FLAG , ERROR_TEXT_LANGUAGE = ERROR_TEXT | ERROR_LANGUAGE_FLAG , ERROR_EULA_LANGUAGE = ERROR_EULA | ERROR_LANGUAGE_FLAG , ERROR_TEXT_WORD_WRAP = ERROR_TEXT | ERROR_WORD_WRAP_FLAG , ERROR_TEXT_LANGUAGE_WORD_WRAP = ERROR_TEXT | ERROR_LANGUAGE_FLAG | ERROR_WORD_WRAP_FLAG } |
enum | errorScreenFlag { ERROR_NORMAL = 0 , ERROR_STEREO } |
enum | errorReturnCode { ERROR_UNKNOWN = -1 , ERROR_NONE = 0 , ERROR_SUCCESS , ERROR_NOT_SUPPORTED , ERROR_HOME_BUTTON = 10 , ERROR_SOFTWARE_RESET , ERROR_POWER_BUTTON } |
Functions | |
void | errorInit (errorConf *err, errorType type, CFG_Language lang) |
Init the error applet. More... | |
void | errorCode (errorConf *err, int error) |
Sets error code to display. More... | |
void | errorText (errorConf *err, const char *text) |
Sets error text to display. More... | |
void | errorDisp (errorConf *err) |
Displays the error applet. More... | |
Error applet.
enum errorType |
void errorCode | ( | errorConf * | err, |
int | error | ||
) |
Sets error code to display.
err | Pointer to errorConf. |
error | Error-code to display. |
void errorInit | ( | errorConf * | err, |
errorType | type, | ||
CFG_Language | lang | ||
) |
Init the error applet.
err | Pointer to errorConf. |
type | errorType Type of error. |
lang | CFG_Language Lang of error. |