xref: /haiku/src/system/boot/platform/openfirmware/menu.cpp (revision 3e216965baa8d58a67bf7372e2bfa13d999f5a9d)
1 /*
2  * Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 
6 
7 #include <boot/platform.h>
8 #include <boot/menu.h>
9 #include <boot/platform/generic/text_menu.h>
10 
11 
12 void
13 platform_add_menus(Menu *menu)
14 {
15 	// ToDo: implement me!
16 
17 	switch (menu->Type()) {
18 		case MAIN_MENU:
19 			break;
20 		case SAFE_MODE_MENU:
21 			break;
22 		default:
23 			break;
24 	}
25 }
26 
27 
28 void
29 platform_update_menu_item(Menu *menu, MenuItem *item)
30 {
31 	platform_generic_update_text_menu_item(menu, item);
32 }
33 
34 
35 void
36 platform_run_menu(Menu *menu)
37 {
38 	platform_generic_run_text_menu(menu);
39 }
40 
41