xref: /OK3568_Linux_fs/external/recovery/noui.c (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /*
2  * Copyright (C) 2007 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #include <linux/input.h>
18 #include <pthread.h>
19 #include <stdarg.h>
20 #include <stdio.h>
21 #include <stdlib.h>
22 #include <string.h>
23 #include <sys/reboot.h>
24 #include <sys/time.h>
25 #include <time.h>
26 #include <unistd.h>
27 
28 #include "common.h"
29 #include "minui/minui.h"
30 #include "recovery_ui.h"
31 
ui_init(void)32 void ui_init(void)
33 {
34 }
35 
ui_set_background(int icon)36 void ui_set_background(int icon)
37 {
38 }
39 
ui_show_indeterminate_progress()40 void ui_show_indeterminate_progress()
41 {
42 }
43 
ui_show_progress(float portion,int seconds)44 void ui_show_progress(float portion, int seconds)
45 {
46 }
47 
ui_set_progress(float fraction)48 void ui_set_progress(float fraction)
49 {
50 }
51 
ui_reset_progress()52 void ui_reset_progress()
53 {
54 }
55 
ui_print(const char * fmt,...)56 void ui_print(const char *fmt, ...)
57 {
58 }
59 
ui_start_menu(char ** headers,char ** items,int initial_selection)60 void ui_start_menu(char** headers, char** items, int initial_selection)
61 {
62 }
63 
ui_menu_select(int sel)64 int ui_menu_select(int sel)
65 {
66     return 0;
67 }
68 
ui_end_menu()69 void ui_end_menu()
70 {
71 }
72 
ui_text_visible()73 int ui_text_visible()
74 {
75     return 0;
76 }
77 
ui_show_text(int visible)78 void ui_show_text(int visible)
79 {
80 }
81 
ui_wait_key()82 int ui_wait_key()
83 {
84     return 0;
85 }
86 
ui_key_pressed(int key)87 int ui_key_pressed(int key)
88 {
89     return 0;
90 }
91 
ui_clear_key_queue()92 void ui_clear_key_queue()
93 {
94 }
95