diff options
author | Koushik Dutta <koushd@gmail.com> | 2011-11-16 16:00:35 -0800 |
---|---|---|
committer | Koushik Dutta <koushd@gmail.com> | 2011-11-16 16:00:35 -0800 |
commit | 0df56f4db49c1fde314e1e0b02b32cfc6ceca1dd (patch) | |
tree | b14e75085d72d8a1f8aa2727c847b35dc7910526 /recovery_ui.h | |
parent | 88a233d5faa82e51050bdfacfebaf9624b073797 (diff) | |
parent | 441031dadc4f5e8c1487468229781702bc08fb14 (diff) | |
download | bootable_recovery-0df56f4db49c1fde314e1e0b02b32cfc6ceca1dd.zip bootable_recovery-0df56f4db49c1fde314e1e0b02b32cfc6ceca1dd.tar.gz bootable_recovery-0df56f4db49c1fde314e1e0b02b32cfc6ceca1dd.tar.bz2 |
wip
Diffstat (limited to 'recovery_ui.h')
-rw-r--r-- | recovery_ui.h | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/recovery_ui.h b/recovery_ui.h index 50af45b..ec5f4fa 100644 --- a/recovery_ui.h +++ b/recovery_ui.h @@ -17,6 +17,12 @@ #ifndef _RECOVERY_UI_H #define _RECOVERY_UI_H +#include "common.h" + +// Called before UI library is initialized. Can change things like +// how many frames are included in various animations, etc. +extern void device_ui_init(UIParameters* ui_parameters); + // Called when recovery starts up. Returns 0. extern int device_recovery_start(); @@ -67,14 +73,16 @@ int device_wipe_data(); #define GO_BACK -5 #define ITEM_REBOOT 0 -#define ITEM_APPLY_SDCARD 1 +#define ITEM_APPLY_EXT 1 +#define ITEM_APPLY_SDCARD 1 // historical synonym for ITEM_APPLY_EXT #define ITEM_WIPE_DATA 2 #define ITEM_WIPE_CACHE 3 -#define ITEM_INSTALL_ZIP 4 -#define ITEM_NANDROID 5 -#define ITEM_PARTITION 6 -#define ITEM_ADVANCED 7 -#define ITEM_POWEROFF 8 +// unused in cwr +#define ITEM_APPLY_CACHE 4 +#define ITEM_NANDROID 4 +#define ITEM_PARTITION 5 +#define ITEM_ADVANCED 6 +#define ITEM_POWEROFF 7 // Header text to display above the main menu. extern char* MENU_HEADERS[]; |