Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/intern/GHOST_SystemPathsUnix.cpp
| Show First 20 Lines • Show All 141 Lines • ▼ Show 20 Lines | case GHOST_kUserSpecialDirCaches: { | ||||
| } | } | ||||
| /* Fallback to ~home/.cache/. | /* Fallback to ~home/.cache/. | ||||
| * When invoking `xdg-user-dir` without parameters the user folder | * When invoking `xdg-user-dir` without parameters the user folder | ||||
| * will be read. `.cache` will be appended. */ | * will be read. `.cache` will be appended. */ | ||||
| type_str = ""; | type_str = ""; | ||||
| add_path = ".cache"; | add_path = ".cache"; | ||||
| break; | break; | ||||
| } | } | ||||
| case GHOST_kUserSpecialDirLibrary: | |||||
| /* TODO Pass for now, to be implemented. */ | |||||
| case GHOST_kUserSpecialDirHome: | |||||
| /* TODO Pass for now, to be implemented. */ | |||||
| default: | default: | ||||
| GHOST_ASSERT( | GHOST_ASSERT( | ||||
| false, | false, | ||||
| "GHOST_SystemPathsUnix::getUserSpecialDir(): Invalid enum value for type parameter"); | "GHOST_SystemPathsUnix::getUserSpecialDir(): Invalid enum value for type parameter"); | ||||
| return NULL; | return NULL; | ||||
| } | } | ||||
| static string path = ""; | static string path = ""; | ||||
| Show All 38 Lines | |||||