2019-11-21 12:02:45 -03:00
# pragma once
# include "../utils/types.h"
2019-12-22 08:10:59 -03:00
# define MAINMENU_AMOUNT 9
2019-11-21 13:34:47 -03:00
# define CREDITS_MESSAGE "\nTegraexplorer, made by:\nSuch Meme, Many Skill\n\nProject based on:\nLockpick_RCM\nHekate\n\nCool people:\nshchmue\ndennthecafebabe\nDax"
2019-11-21 12:02:45 -03:00
typedef struct _menu_item {
char name [ 50 ] ;
u32 color ;
short internal_function ;
short property ;
} menu_item ;
2019-11-21 17:27:48 -03:00
enum mainmenu_return {
SD_CARD = 1 ,
2019-12-22 08:10:59 -03:00
EMMC_SAF ,
2019-12-11 09:18:57 -03:00
EMMC_SYS ,
EMMC_USR ,
2019-11-21 17:27:48 -03:00
MOUNT_SD ,
TOOLS ,
2019-12-11 09:18:57 -03:00
SD_FORMAT ,
2019-11-21 17:27:48 -03:00
CREDITS ,
EXIT
} ;
enum shutdownmenu_return {
REBOOT_RCM = 1 ,
REBOOT_NORMAL ,
2019-12-01 11:42:37 -03:00
POWER_OFF ,
HEKATE ,
AMS
2019-11-21 17:27:48 -03:00
} ;
enum toolsmenu_return {
2019-12-03 06:06:11 -03:00
DISPLAY_INFO = 1 ,
2019-12-03 13:11:08 -03:00
DISPLAY_GPIO ,
2019-12-11 10:45:30 -03:00
DUMPFIRMWARE
} ;
enum formatmenu_return {
2019-12-12 09:18:43 -03:00
FORMAT_EMUMMC = 0 ,
FORMAT_ALL_FAT32
2019-11-21 17:27:48 -03:00
} ;
//menu_item mainmenu[MAINMENU_AMOUNT];
2019-11-21 12:02:45 -03:00
void te_main ( ) ;