]> git.ozlabs.org Git - petitboot/blob - ui/ncurses/nc-boot-editor.h
po: Translation Updates
[petitboot] / ui / ncurses / nc-boot-editor.h
1 /*
2  *  Copyright (C) 2009 Sony Computer Entertainment Inc.
3  *  Copyright 2009 Sony Corp.
4  *
5  *  This program is free software; you can redistribute it and/or modify
6  *  it under the terms of the GNU General Public License as published by
7  *  the Free Software Foundation; version 2 of the License.
8  *
9  *  This program is distributed in the hope that it will be useful,
10  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  *  GNU General Public License for more details.
13  *
14  *  You should have received a copy of the GNU General Public License
15  *  along with this program; if not, write to the Free Software
16  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17  */
18
19 #if !defined(_PB_NC_KED_H)
20 #define _PB_NC_KED_H
21
22 #include "ui/common/discover-client.h"
23
24 #include "types/types.h"
25 #include "nc-cui.h"
26
27 struct boot_editor;
28
29 struct boot_editor *boot_editor_init(struct cui *cui,
30                 struct pmenu_item *item,
31                 const struct system_info *sysinfo,
32                 void (*on_exit)(struct cui *cui,
33                                 struct pmenu_item *item,
34                                 struct pb_boot_data *bd));
35
36 struct nc_scr *boot_editor_scr(struct boot_editor *boot_editor);
37
38 void boot_editor_update(struct boot_editor *boot_editor,
39                 const struct system_info *info);
40
41
42 #endif