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
This commit is contained in:
Michael Giacomelli 2009-05-27 20:31:07 +00:00
parent dc4b3a4fe1
commit e299fb3716
4 changed files with 6 additions and 6 deletions

View file

@ -147,8 +147,8 @@ long reverse (long N) {
#endif #endif
/* data files */ /* data files */
#define DICT_INDEX ROCKBOX_DIR "/rocks/apps/dict.index" #define DICT_INDEX PLUGIN_APPS_DIR "/dict.index"
#define DICT_DESC ROCKBOX_DIR "/rocks/apps/dict.desc" #define DICT_DESC PLUGIN_APPS_DIR "/dict.desc"
/* the main plugin function */ /* the main plugin function */
enum plugin_status plugin_start(const void* parameter) enum plugin_status plugin_start(const void* parameter)

View file

@ -22,7 +22,7 @@
#include "lib/md5.h" #include "lib/md5.h"
PLUGIN_HEADER PLUGIN_HEADER
#define KEYBOX_FILE PLUGIN_DIR "/apps/keybox.dat" #define KEYBOX_FILE PLUGIN_APPS_DIR "/keybox.dat"
#define BLOCK_SIZE 8 #define BLOCK_SIZE 8
#define MAX_ENTRIES 12*BLOCK_SIZE /* keep this a multiple of BLOCK_SIZE */ #define MAX_ENTRIES 12*BLOCK_SIZE /* keep this a multiple of BLOCK_SIZE */
#define FIELD_LEN 32 /* should be enough for anyone ;) */ #define FIELD_LEN 32 /* should be enough for anyone ;) */

View file

@ -39,8 +39,8 @@ PLUGIN_HEADER
#define PB_USB 2 #define PB_USB 2
#define PB_QUIT 1 #define PB_QUIT 1
#define DATA_FILE PLUGIN_DIR "/games/pegbox.data" #define DATA_FILE PLUGIN_GAMES_DIR "/pegbox.data"
#define SAVE_FILE PLUGIN_DIR "/games/pegbox.save" #define SAVE_FILE PLUGIN_GAMES_DIR "/pegbox.save"
#define ROWS 8 /* Number of rows on each board */ #define ROWS 8 /* Number of rows on each board */
#define COLS 12 /* Number of columns on each board */ #define COLS 12 /* Number of columns on each board */

View file

@ -32,7 +32,7 @@ PLUGIN_HEADER
#define LAP_Y TIMER_Y+1 #define LAP_Y TIMER_Y+1
#define MAX_LAPS 64 #define MAX_LAPS 64
#define STOPWATCH_FILE ROCKBOX_DIR "/apps/stopwatch.dat" #define STOPWATCH_FILE PLUGIN_APPS_DIR "/stopwatch.dat"
/* variable button definitions */ /* variable button definitions */
#if CONFIG_KEYPAD == RECORDER_PAD #if CONFIG_KEYPAD == RECORDER_PAD