aboutsummaryrefslogtreecommitdiff
path: root/display.h
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2011-06-15 15:45:12 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2011-06-15 15:45:12 +0200
commit176e69dd96d7bee2effcfb52cd8fbad570c89d0e (patch)
tree389f714ca7e6f05201da19a68771f0bd330858eb /display.h
parent156274830b76fc80b27508a6bf9cbc6151c15d48 (diff)
Encapsulate the display (10)
The keystroke callback could be moved to the display code. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'display.h')
-rw-r--r--display.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/display.h b/display.h
index 7e6b199..ebd501a 100644
--- a/display.h
+++ b/display.h
@@ -13,8 +13,6 @@
* - initial API and implementation
*******************************************************************************/
-#define TOTAL_FEATURE_WINS 3 /* Regulator, Clock and Sensor (for now) */
-
struct display_ops {
int (*display)(void);
int (*select)(void);
@@ -29,12 +27,8 @@ extern void *display_get_row_data(int window);
extern int display_init(int wdefault);
extern int display_register(int win, struct display_ops *ops);
-extern int display_next_panel(void);
-extern int display_prev_panel(void);
-extern int display_next_line(void);
-extern int display_prev_line(void);
extern int display_refresh(void);
-extern int display_select(void);
+extern int display_keystroke(void *data);
/* FIXME */
extern void print_sensor_header(void);