Browse Source

Renamed instances of FileHelpers to MacFileHelpers in iOS implementation in juce_mac_Files.mm

tags/2021-05-28
ed 9 years ago
parent
commit
2952b52f88
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      modules/juce_core/native/juce_mac_Files.mm

+ 3
- 3
modules/juce_core/native/juce_mac_Files.mm View File

@@ -186,12 +186,12 @@ File File::getSpecialLocation (const SpecialLocationType type)
case userHomeDirectory: resultPath = nsStringToJuce (NSHomeDirectory()); break;
#if JUCE_IOS
case userDocumentsDirectory: resultPath = FileHelpers::getIOSSystemLocation (NSDocumentDirectory); break;
case userDesktopDirectory: resultPath = FileHelpers::getIOSSystemLocation (NSDesktopDirectory); break;
case userDocumentsDirectory: resultPath = MacFileHelpers::getIOSSystemLocation (NSDocumentDirectory); break;
case userDesktopDirectory: resultPath = MacFileHelpers::getIOSSystemLocation (NSDesktopDirectory); break;
case tempDirectory:
{
File tmp (FileHelpers::getIOSSystemLocation (NSCachesDirectory));
File tmp (MacFileHelpers::getIOSSystemLocation (NSCachesDirectory));
tmp = tmp.getChildFile (juce_getExecutableFile().getFileNameWithoutExtension());
tmp.createDirectory();
return tmp.getFullPathName();


Loading…
Cancel
Save