api changes needed for for copying old settings to new.
[blender.git] / source / blender / blenlib / BLI_path_util.h
index 8e46afd..3e86079 100644 (file)
@@ -45,6 +45,7 @@ const char *BLI_getDefaultDocumentFolder(void);
 char *BLI_get_folder(int folder_id, const char *subfolder);
 char *BLI_get_folder_create(int folder_id, const char *subfolder);
 char *BLI_get_user_folder_notest(int folder_id, const char *subfolder);
+char *BLI_get_folder_version(const int id, const int ver, const int do_check);
 
 /* folder_id */
 
@@ -73,6 +74,11 @@ char *BLI_get_user_folder_notest(int folder_id, const char *subfolder);
 
 #define BLENDER_USERFOLDER(id) (id >= BLENDER_USER_CONFIG && id <= BLENDER_USER_PLUGINS)
 
+/* for BLI_get_folder_version only */
+#define BLENDER_RESOURCE_PATH_USER             0
+#define BLENDER_RESOURCE_PATH_LOCAL            1
+#define BLENDER_RESOURCE_PATH_SYSTEM   2
+
 #define BLENDER_STARTUP_FILE   "startup.blend"
 #define BLENDER_BOOKMARK_FILE  "bookmarks.txt"
 #define BLENDER_HISTORY_FILE   "recent-files.txt"