From 04f29974dc0a0c1443bf2ab92f8af1fb91137007 Mon Sep 17 00:00:00 2001 From: hessuh Date: Fri, 30 Aug 2002 13:24:03 +0000 Subject: [PATCH] Added char rockboxdir[] containing the directory /.rockbox/ where we should start storing wps config files, fonts and other data/config files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2083 a1c6a512-1295-4272-9138-f99709370657 --- apps/settings.c | 1 + apps/settings.h | 3 +++ 2 files changed, 4 insertions(+) diff --git a/apps/settings.c b/apps/settings.c index 10ebcbb63..8835ac865 100644 --- a/apps/settings.c +++ b/apps/settings.c @@ -40,6 +40,7 @@ #endif struct user_settings global_settings; +char rockboxdir[] = "/.rockbox/"; /* config/font/data file directory */ #define CONFIG_BLOCK_VERSION 1 #define CONFIG_BLOCK_SIZE 512 diff --git a/apps/settings.h b/apps/settings.h index 831a70a3b..c7b8c5fd4 100644 --- a/apps/settings.h +++ b/apps/settings.h @@ -100,6 +100,9 @@ void set_time(char* string, int timedate[]); /* global settings */ extern struct user_settings global_settings; +/* name of directory where configuration, fonts and other data + * files are stored */ +extern char rockboxdir[]; /* system defines */ -- 2.11.4.GIT