diff options
author | Damien Plisson <damien.plisson@yahoo.fr> | 2010-02-27 20:03:46 +0300 |
---|---|---|
committer | Damien Plisson <damien.plisson@yahoo.fr> | 2010-02-27 20:03:46 +0300 |
commit | fa6beb43028b26424cf8aa0712f8f1a9ed8360a4 (patch) | |
tree | d679adfa82b10555d9cb8598945a3dce972ebcbb /intern/ghost/GHOST_ISystem.h | |
parent | a9e3e0e40f17fca00eeb5b3af9af20b6fcf5ada5 (diff) |
System dependent standard directory retrieval functions update : return const strings (as coded in libc) instead of malloc'ed buffers
and plug them into wip BLI_bfile.c to replace the hardcoded paths
Diffstat (limited to 'intern/ghost/GHOST_ISystem.h')
-rw-r--r-- | intern/ghost/GHOST_ISystem.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/ghost/GHOST_ISystem.h b/intern/ghost/GHOST_ISystem.h index 5e0c7f41ab8..fd8641f2055 100644 --- a/intern/ghost/GHOST_ISystem.h +++ b/intern/ghost/GHOST_ISystem.h @@ -380,14 +380,14 @@ public: * "unpack and run" path, then look for properly installed path, not including versioning. * @return Unsigned char string pointing to system dir (eg /usr/share/blender/). */ - virtual GHOST_TUns8* getSystemDir() const = 0; + virtual const GHOST_TUns8* getSystemDir() const = 0; /** * Determine the base dir in which user configuration is stored, not including versioning. * If needed, it will create the base directory. * @return Unsigned char string pointing to user dir (eg ~/.blender/). */ - virtual GHOST_TUns8* getUserDir() const = 0; + virtual const GHOST_TUns8* getUserDir() const = 0; protected: /** |