summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorThomas Jarosch <tomj@simonv.com>2011-02-27 23:42:37 +0000
committerThomas Jarosch <tomj@simonv.com>2011-02-27 23:42:37 +0000
commit6e9e6a7571275f1942630e0383d3fdf912178c8d (patch)
tree74545da1553abed88ef536f0281ab1acbee96576 /apps
parent87f7dcf38ed521fcea5561e2a0b7954617f96e66 (diff)
downloadrockbox-6e9e6a7571275f1942630e0383d3fdf912178c8d.tar.gz
rockbox-6e9e6a7571275f1942630e0383d3fdf912178c8d.zip
RaaA: Add initial Pandora support
More information: www.openpandora.org Possible things to implement: - Special button mappings - Battery monitoring - ALSA audio backend - Automate creation of "pnd" (=binary) file git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29451 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/codecs.c2
-rw-r--r--apps/main.c4
-rw-r--r--apps/settings_list.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/apps/codecs.c b/apps/codecs.c
index 86e36edcf0..c9f612b3f4 100644
--- a/apps/codecs.c
+++ b/apps/codecs.c
@@ -54,7 +54,7 @@
54#define LOGF_ENABLE 54#define LOGF_ENABLE
55#include "logf.h" 55#include "logf.h"
56 56
57#if (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO)) 57#if (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO|PLATFORM_PANDORA))
58#define PREFIX(_x_) sim_ ## _x_ 58#define PREFIX(_x_) sim_ ## _x_
59#else 59#else
60#define PREFIX(_x_) _x_ 60#define PREFIX(_x_) _x_
diff --git a/apps/main.c b/apps/main.c
index bd04223f97..001f368f50 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -125,7 +125,7 @@
125#define MAIN_NORETURN_ATTR 125#define MAIN_NORETURN_ATTR
126#endif 126#endif
127 127
128#if (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO)) 128#if (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO|PLATFORM_PANDORA))
129#include "sim_tasks.h" 129#include "sim_tasks.h"
130#include "system-sdl.h" 130#include "system-sdl.h"
131#define HAVE_ARGV_MAIN 131#define HAVE_ARGV_MAIN
@@ -351,7 +351,7 @@ static void init(void)
351 show_logo(); 351 show_logo();
352 button_init(); 352 button_init();
353 backlight_init(); 353 backlight_init();
354#if (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO)) 354#if (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO|PLATFORM_PANDORA))
355 sim_tasks_init(); 355 sim_tasks_init();
356#endif 356#endif
357#if (CONFIG_PLATFORM & PLATFORM_ANDROID) 357#if (CONFIG_PLATFORM & PLATFORM_ANDROID)
diff --git a/apps/settings_list.c b/apps/settings_list.c
index 154479b63b..2d73028968 100644
--- a/apps/settings_list.c
+++ b/apps/settings_list.c
@@ -217,7 +217,7 @@ static const char graphic_numeric[] = "graphic,numeric";
217 #define DEFAULT_FONTNAME "15-Adobe-Helvetica" 217 #define DEFAULT_FONTNAME "15-Adobe-Helvetica"
218#elif LCD_HEIGHT <= 400 218#elif LCD_HEIGHT <= 400
219 #define DEFAULT_FONTNAME "16-Adobe-Helvetica" 219 #define DEFAULT_FONTNAME "16-Adobe-Helvetica"
220#elif LCD_HEIGHT <= 480 && !(CONFIG_PLATFORM & PLATFORM_MAEMO) 220#elif LCD_HEIGHT <= 480 && !(CONFIG_PLATFORM & (PLATFORM_MAEMO|PLATFORM_PANDORA))
221 #define DEFAULT_FONTNAME "27-Adobe-Helvetica" 221 #define DEFAULT_FONTNAME "27-Adobe-Helvetica"
222#else 222#else
223 #define DEFAULT_FONTNAME "35-Adobe-Helvetica" 223 #define DEFAULT_FONTNAME "35-Adobe-Helvetica"