From 37c9aee3ffc02a299d94867df9df8132b09fc611 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Sun, 17 Nov 2013 14:04:08 +1100 Subject: ui/ncurses: Make boot editor API consistent with config & sysinfo screens The boot-editor API is a little more exposed than it needs to be: the boot_editor struct does not need to be available to other files, and the init function and on_exit functions differ from those provided for the config and sysinfo screens. This change unifies the boot_editor API with those for the other screens. Signed-off-by: Jeremy Kerr --- ui/ncurses/nc-cui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/ncurses/nc-cui.h') diff --git a/ui/ncurses/nc-cui.h b/ui/ncurses/nc-cui.h index aba682a..90af361 100644 --- a/ui/ncurses/nc-cui.h +++ b/ui/ncurses/nc-cui.h @@ -23,7 +23,6 @@ #include "ui/common/joystick.h" #include "nc-menu.h" -#include "nc-boot-editor.h" struct cui_opt_data { const char *name; @@ -59,6 +58,7 @@ struct cui { struct sysinfo_screen *sysinfo_screen; struct config *config; struct config_screen *config_screen; + struct boot_editor *boot_editor; struct pjs *pjs; void *platform_info; unsigned int default_item; -- cgit v1.2.1