summaryrefslogtreecommitdiffstats
path: root/ui/ncurses/nc-cui.h
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-11-17 14:04:08 +1100
committerJeremy Kerr <jk@ozlabs.org>2013-11-22 10:45:54 +0800
commit37c9aee3ffc02a299d94867df9df8132b09fc611 (patch)
treeff87ad3b758f7da2bad7c69b9b8d7113657b9dcb /ui/ncurses/nc-cui.h
parent504b84c7a37ba8656bceb80fa37138751b7a6702 (diff)
downloadtalos-petitboot-37c9aee3ffc02a299d94867df9df8132b09fc611.tar.gz
talos-petitboot-37c9aee3ffc02a299d94867df9df8132b09fc611.zip
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 <jk@ozlabs.org>
Diffstat (limited to 'ui/ncurses/nc-cui.h')
-rw-r--r--ui/ncurses/nc-cui.h2
1 files changed, 1 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud