aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authork-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2016-01-02 00:50:22 +0000
committerk-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2016-01-02 00:50:22 +0000
commitb4e12810394d8b1c024ba81ebb0810ab425bdc45 (patch)
tree7aa68f43ede0a538d291f65d20b7f274194af234
parent9d7dc2f559b501e04d5ed59faef6b35f1450e610 (diff)
downloadusdx-b4e12810394d8b1c024ba81ebb0810ab425bdc45.tar.gz
usdx-b4e12810394d8b1c024ba81ebb0810ab425bdc45.tar.xz
usdx-b4e12810394d8b1c024ba81ebb0810ab425bdc45.zip
add and prepare for further paths
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3169 b956fd51-792f-4845-bead-9b4dfca2ff2c
-rw-r--r--src/base/UPathUtils.pas10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/base/UPathUtils.pas b/src/base/UPathUtils.pas
index 2bfcde42..b568a22d 100644
--- a/src/base/UPathUtils.pas
+++ b/src/base/UPathUtils.pas
@@ -54,6 +54,10 @@ var
FontPath: IPath;
ResourcesPath: IPath;
PlaylistPath: IPath;
+ WebsitePath: IPath;
+ WebScoresPath: IPath;
+ SoundFontsPath: IPath;
+ AvatarsPath: IPath;
function FindPath(out PathResult: IPath; const RequestedPath: IPath; NeedsWritePermission: boolean): boolean;
procedure InitializePaths;
@@ -173,7 +177,11 @@ begin
FindPath(VisualsPath, SharedPath.Append('visuals'), false);
FindPath(FontPath, SharedPath.Append('fonts'), false);
FindPath(ResourcesPath, SharedPath.Append('resources'), false);
-
+{ add later as required
+ FindPath(WebsitePath, SharedPath.Append('webs'), false);
+ FindPath(SoundFontsPath, SharedPath.Append('soundfonts'), false);
+ FindPath(AvatarsPath, SharedPath.Append('avatars'), false);
+}
// Playlists are not shared as we need one directory to write too
FindPath(PlaylistPath, UserPath.Append('playlists'), true);