mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
move lcd remote common declarations to lcd-remote.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31604 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2a5772a20c
commit
666f2e61f0
7 changed files with 7 additions and 21 deletions
|
|
@ -112,6 +112,11 @@ extern unsigned lcd_remote_color_to_native(unsigned color);
|
|||
/* The actual framebuffer */
|
||||
extern fb_remote_data lcd_remote_framebuffer[LCD_REMOTE_FBHEIGHT][LCD_REMOTE_FBWIDTH];
|
||||
|
||||
void lcd_remote_init_device(void);
|
||||
void lcd_remote_on(void);
|
||||
void lcd_remote_off(void);
|
||||
|
||||
extern bool remote_initialized;
|
||||
|
||||
extern void lcd_remote_init(void);
|
||||
extern int lcd_remote_default_contrast(void);
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
#include "synaptics-mep.h"
|
||||
|
||||
#ifdef HAVE_REMOTE_LCD
|
||||
#include "lcd-remote-target.h"
|
||||
#include "lcd-remote.h"
|
||||
static bool remote_hold = false;
|
||||
static bool headphones_status = true;
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -25,12 +25,8 @@ bool remote_detect(void); /* returns detection status */
|
|||
|
||||
void lcd_remote_backlight(bool on);
|
||||
|
||||
void lcd_remote_init_device(void);
|
||||
void lcd_remote_on(void);
|
||||
void lcd_remote_off(void);
|
||||
bool lcd_remote_read_device(unsigned char *data);
|
||||
|
||||
extern bool remote_initialized;
|
||||
extern unsigned int rc_status;
|
||||
extern unsigned char rc_buf[5];
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
#include "power.h"
|
||||
#include "logf.h"
|
||||
#include "usb.h"
|
||||
#include "lcd-remote-target.h"
|
||||
#include "lcd-remote.h"
|
||||
|
||||
void power_init(void)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -27,17 +27,12 @@
|
|||
void lcd_remote_powersave(bool on);
|
||||
|
||||
bool remote_detect(void);
|
||||
void lcd_remote_init_device(void);
|
||||
void lcd_remote_on(void);
|
||||
void lcd_remote_off(void);
|
||||
|
||||
#ifndef SIMULATOR
|
||||
void _remote_backlight_on(void);
|
||||
void _remote_backlight_off(void);
|
||||
#endif
|
||||
|
||||
extern bool remote_initialized;
|
||||
|
||||
void lcd_remote_sleep(void);
|
||||
|
||||
int remote_read_device(void);
|
||||
|
|
|
|||
|
|
@ -24,13 +24,8 @@
|
|||
#define REMOTE_INIT_LCD 1
|
||||
#define REMOTE_DEINIT_LCD 2
|
||||
|
||||
void lcd_remote_init_device(void);
|
||||
bool remote_detect(void);
|
||||
void lcd_remote_powersave(bool on);
|
||||
void lcd_remote_on(void);
|
||||
void lcd_remote_off(void);
|
||||
void lcd_remote_poweroff(void); /* for when remote is plugged during shutdown*/
|
||||
|
||||
extern bool remote_initialized;
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -30,10 +30,5 @@ void lcd_remote_emireduce(bool state);
|
|||
void lcd_remote_powersave(bool on);
|
||||
|
||||
bool remote_detect(void);
|
||||
void lcd_remote_init_device(void);
|
||||
void lcd_remote_on(void);
|
||||
void lcd_remote_off(void);
|
||||
|
||||
extern bool remote_initialized;
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue