| @@ -877,10 +877,21 @@ public: | |||||
| #endif | #endif | ||||
| /** The directory in which applications normally get installed. | /** The directory in which applications normally get installed. | ||||
| So on windows, this would be something like "c:\program files", on the | |||||
| So on windows, this would be something like "C:\Program Files", on the | |||||
| Mac "/Applications", or "/usr" on linux. | Mac "/Applications", or "/usr" on linux. | ||||
| */ | */ | ||||
| globalApplicationsDirectory | |||||
| globalApplicationsDirectory, | |||||
| #if JUCE_WINDOWS | |||||
| /** On a Windows machine, returns the directory in which 32 bit applications | |||||
| normally get installed. On a 64 bit machine this would be something like | |||||
| "C:\Program Files (x86)", whereas for 32 bit machines this would match | |||||
| globalApplicationsDirectory and be something like "C:\Program Files". | |||||
| @see globalApplicationsDirectory | |||||
| */ | |||||
| globalApplicationsDirectoryX86 | |||||
| #endif | |||||
| }; | }; | ||||
| /** Finds the location of a special type of file or directory, such as a home folder or | /** Finds the location of a special type of file or directory, such as a home folder or | ||||
| @@ -568,6 +568,7 @@ File JUCE_CALLTYPE File::getSpecialLocation (const SpecialLocationType type) | |||||
| case commonApplicationDataDirectory: csidlType = CSIDL_COMMON_APPDATA; break; | case commonApplicationDataDirectory: csidlType = CSIDL_COMMON_APPDATA; break; | ||||
| case commonDocumentsDirectory: csidlType = CSIDL_COMMON_DOCUMENTS; break; | case commonDocumentsDirectory: csidlType = CSIDL_COMMON_DOCUMENTS; break; | ||||
| case globalApplicationsDirectory: csidlType = CSIDL_PROGRAM_FILES; break; | case globalApplicationsDirectory: csidlType = CSIDL_PROGRAM_FILES; break; | ||||
| case globalApplicationsDirectoryX86: csidlType = CSIDL_PROGRAM_FILESX86; break; | |||||
| case userMusicDirectory: csidlType = 0x0d; /*CSIDL_MYMUSIC*/ break; | case userMusicDirectory: csidlType = 0x0d; /*CSIDL_MYMUSIC*/ break; | ||||
| case userMoviesDirectory: csidlType = 0x0e; /*CSIDL_MYVIDEO*/ break; | case userMoviesDirectory: csidlType = 0x0e; /*CSIDL_MYVIDEO*/ break; | ||||
| case userPicturesDirectory: csidlType = 0x27; /*CSIDL_MYPICTURES*/ break; | case userPicturesDirectory: csidlType = 0x27; /*CSIDL_MYPICTURES*/ break; | ||||