summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2009-05-27 20:31:07 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2009-05-27 20:31:07 +0000
commite299fb3716d904f818c063e1a316a875c530c794 (patch)
treec89e34faf7e97b6ccd390ef67c66908ac538a271
parentdc4b3a4fe1a79a4ee0285596eeee4a541b9a6571 (diff)
downloadrockbox-e299fb3716d904f818c063e1a316a875c530c794.tar.gz
rockbox-e299fb3716d904f818c063e1a316a875c530c794.zip
Commit next part of FS# 10138 by Teruaki Kawashima. Replace ROCKBOX_DIR and related defines with PLUGIN_APPS_DIR or PLUGIN_GAMES_DIR.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21103 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/dict.c4
-rw-r--r--apps/plugins/keybox.c2
-rw-r--r--apps/plugins/pegbox.c4
-rw-r--r--apps/plugins/stopwatch.c2
4 files changed, 6 insertions, 6 deletions
diff --git a/apps/plugins/dict.c b/apps/plugins/dict.c
index 5c57f7b2a5..0c1ddf33a9 100644
--- a/apps/plugins/dict.c
+++ b/apps/plugins/dict.c
@@ -147,8 +147,8 @@ long reverse (long N) {
147#endif 147#endif
148 148
149/* data files */ 149/* data files */
150#define DICT_INDEX ROCKBOX_DIR "/rocks/apps/dict.index" 150#define DICT_INDEX PLUGIN_APPS_DIR "/dict.index"
151#define DICT_DESC ROCKBOX_DIR "/rocks/apps/dict.desc" 151#define DICT_DESC PLUGIN_APPS_DIR "/dict.desc"
152 152
153/* the main plugin function */ 153/* the main plugin function */
154enum plugin_status plugin_start(const void* parameter) 154enum plugin_status plugin_start(const void* parameter)
diff --git a/apps/plugins/keybox.c b/apps/plugins/keybox.c
index ddff1e95d2..5d625a33a2 100644
--- a/apps/plugins/keybox.c
+++ b/apps/plugins/keybox.c
@@ -22,7 +22,7 @@
22#include "lib/md5.h" 22#include "lib/md5.h"
23PLUGIN_HEADER 23PLUGIN_HEADER
24 24
25#define KEYBOX_FILE PLUGIN_DIR "/apps/keybox.dat" 25#define KEYBOX_FILE PLUGIN_APPS_DIR "/keybox.dat"
26#define BLOCK_SIZE 8 26#define BLOCK_SIZE 8
27#define MAX_ENTRIES 12*BLOCK_SIZE /* keep this a multiple of BLOCK_SIZE */ 27#define MAX_ENTRIES 12*BLOCK_SIZE /* keep this a multiple of BLOCK_SIZE */
28#define FIELD_LEN 32 /* should be enough for anyone ;) */ 28#define FIELD_LEN 32 /* should be enough for anyone ;) */
diff --git a/apps/plugins/pegbox.c b/apps/plugins/pegbox.c
index 75a37e18a8..23470d4780 100644
--- a/apps/plugins/pegbox.c
+++ b/apps/plugins/pegbox.c
@@ -39,8 +39,8 @@ PLUGIN_HEADER
39#define PB_USB 2 39#define PB_USB 2
40#define PB_QUIT 1 40#define PB_QUIT 1
41 41
42#define DATA_FILE PLUGIN_DIR "/games/pegbox.data" 42#define DATA_FILE PLUGIN_GAMES_DIR "/pegbox.data"
43#define SAVE_FILE PLUGIN_DIR "/games/pegbox.save" 43#define SAVE_FILE PLUGIN_GAMES_DIR "/pegbox.save"
44 44
45#define ROWS 8 /* Number of rows on each board */ 45#define ROWS 8 /* Number of rows on each board */
46#define COLS 12 /* Number of columns on each board */ 46#define COLS 12 /* Number of columns on each board */
diff --git a/apps/plugins/stopwatch.c b/apps/plugins/stopwatch.c
index 0221e0328f..4bacf413fa 100644
--- a/apps/plugins/stopwatch.c
+++ b/apps/plugins/stopwatch.c
@@ -32,7 +32,7 @@ PLUGIN_HEADER
32#define LAP_Y TIMER_Y+1 32#define LAP_Y TIMER_Y+1
33#define MAX_LAPS 64 33#define MAX_LAPS 64
34 34
35#define STOPWATCH_FILE ROCKBOX_DIR "/apps/stopwatch.dat" 35#define STOPWATCH_FILE PLUGIN_APPS_DIR "/stopwatch.dat"
36 36
37/* variable button definitions */ 37/* variable button definitions */
38#if CONFIG_KEYPAD == RECORDER_PAD 38#if CONFIG_KEYPAD == RECORDER_PAD