Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2012-05-25 16:08:29 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2012-05-25 16:08:29 +0400
commit942fcf44150aea4eea8e0f44de6b05229bb7c182 (patch)
tree95737a1de510dcf9400a748eb0acfefaac651cdf /intern/ghost/GHOST_ISystemPaths.h
parent81935ee6772afce569ddadc5ce5870728452b5d9 (diff)
Unix: enable use of XDG paths for storing Blender configuration on Linux/BSD/..,
starting from version 2.64. Unless you have a special system setup, this means the will be in ~/.config/blender rather than ~/.blender. When the version number is changed to 2.64, the "Copy Previous Settings" operator in the splash will copy the settings to the new location. XDG base directory specification: http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
Diffstat (limited to 'intern/ghost/GHOST_ISystemPaths.h')
-rw-r--r--intern/ghost/GHOST_ISystemPaths.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/intern/ghost/GHOST_ISystemPaths.h b/intern/ghost/GHOST_ISystemPaths.h
index f610fde4582..ee8bd9d1eda 100644
--- a/intern/ghost/GHOST_ISystemPaths.h
+++ b/intern/ghost/GHOST_ISystemPaths.h
@@ -72,17 +72,17 @@ protected:
public:
/**
* Determine the base dir in which shared resources are located. It will first try to use
- * "unpack and run" path, then look for properly installed path, not including versioning.
+ * "unpack and run" path, then look for properly installed path, including versioning.
* @return Unsigned char string pointing to system dir (eg /usr/share/blender/).
*/
- virtual const GHOST_TUns8 *getSystemDir() const = 0;
+ virtual const GHOST_TUns8 *getSystemDir(int version, const char *versionstr) const = 0;
/**
- * Determine the base dir in which user configuration is stored, not including versioning.
+ * Determine the base dir in which user configuration is stored, including versioning.
* If needed, it will create the base directory.
* @return Unsigned char string pointing to user dir (eg ~/.blender/).
*/
- virtual const GHOST_TUns8 *getUserDir() const = 0;
+ virtual const GHOST_TUns8 *getUserDir(int version, const char *versionstr) const = 0;
/**
* Determine the directory of the current binary