diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2014-07-28 10:42:25 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2014-07-28 14:23:05 +0800 |
commit | 9330aba60a05a8d9889dab42bc92b9ebbc55941b (patch) | |
tree | 1fb1a2c36fbcae699f2de7b92c479ade1035bf6e /ui/ncurses/nc-cui.h | |
parent | 37bece9c6354e8857dc3001d6fd245d8a733ef28 (diff) | |
download | talos-petitboot-9330aba60a05a8d9889dab42bc92b9ebbc55941b.tar.gz talos-petitboot-9330aba60a05a8d9889dab42bc92b9ebbc55941b.zip |
ui/ncurses: Add language selector & support for language changes
This change adds a language selector UI, and allows language changes
from incoming configuration messages.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'ui/ncurses/nc-cui.h')
-rw-r--r-- | ui/ncurses/nc-cui.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/ncurses/nc-cui.h b/ui/ncurses/nc-cui.h index 417126f..ff735ae 100644 --- a/ui/ncurses/nc-cui.h +++ b/ui/ncurses/nc-cui.h @@ -60,6 +60,7 @@ struct cui { struct config *config; struct config_screen *config_screen; struct boot_editor *boot_editor; + struct lang_screen *lang_screen; struct help_screen *help_screen; struct pjs *pjs; void *platform_info; @@ -76,6 +77,7 @@ void cui_item_edit(struct pmenu_item *item); void cui_item_new(struct pmenu *menu); void cui_show_sysinfo(struct cui *cui); void cui_show_config(struct cui *cui); +void cui_show_lang(struct cui *cui); void cui_show_help(struct cui *cui, const char *title, const struct help_text *text); int cui_send_config(struct cui *cui, struct config *config); |