Patch [#22339] File/installation paths changes
authorAndrea Weikert <elubie@gmx.net>
Sun, 4 Jul 2010 21:14:59 +0000 (21:14 +0000)
committerAndrea Weikert <elubie@gmx.net>
Sun, 4 Jul 2010 21:14:59 +0000 (21:14 +0000)
commit4135f1310c145d8df5e1195e3205715ada8296cb
tree5de45bd384aaae717aa16cd8796f0f54f72e0d15
parent83a2a4e5b889a023cb3d22120f348bd9e96bc2bb
Patch [#22339] File/installation paths changes

Update after discussions on IRC:
* operating system specific path retrieval is moved back to GHOST, nothing blender specific here though
* cleaned up path functions a bit to remove #ifdefs
* removed Cocoa from blenlib again

TODO:
* Matt, Damien, please check and correct the functions for Cocoa and Carbon, could only put back existing code but needs adjustment
* finish GHOST_getBinaryDir - this should replace the BLI_where_am_i eventually as well as BLI_getInstallationPath on Windows and get_install_dir for the blenderplayer runtime
* It would probably be nice to define GHOST_getTempDir as well and move those out
* more cleanups...

NOTE:
Things are likely broken for macs
17 files changed:
intern/ghost/CMakeLists.txt
intern/ghost/GHOST_ISystem.h
intern/ghost/GHOST_Path-api.h [new file with mode: 0644]
intern/ghost/intern/GHOST_Path-api.cpp [new file with mode: 0644]
intern/ghost/intern/GHOST_System.h
intern/ghost/intern/GHOST_SystemCarbon.cpp
intern/ghost/intern/GHOST_SystemCarbon.h
intern/ghost/intern/GHOST_SystemCocoa.h
intern/ghost/intern/GHOST_SystemCocoa.mm
intern/ghost/intern/GHOST_SystemWin32.cpp
intern/ghost/intern/GHOST_SystemWin32.h
intern/ghost/intern/GHOST_SystemX11.cpp
intern/ghost/intern/GHOST_SystemX11.h
source/blender/blenlib/BLI_path_util.h
source/blender/blenlib/CMakeLists.txt
source/blender/blenlib/intern/path_util.c
source/blender/blenlib/intern/path_util_cocoa.mm [deleted file]