diff --git a/build/linux/platform_specific_code/juce_linux_Files.cpp b/build/linux/platform_specific_code/juce_linux_Files.cpp index 4816c44229..4981dd1a30 100644 --- a/build/linux/platform_specific_code/juce_linux_Files.cpp +++ b/build/linux/platform_specific_code/juce_linux_Files.cpp @@ -198,6 +198,12 @@ bool File::isOnHardDisk() const throw() return true; } +bool File::isOnRemovableDrive() const throw() +{ + jassertfalse // xxx not implemented for linux! + return false; +} + bool File::isHidden() const throw() { return getFileName().startsWithChar (T('.')); diff --git a/build/macosx/platform_specific_code/juce_mac_Files.cpp b/build/macosx/platform_specific_code/juce_mac_Files.cpp index af58abd41e..468d8787f4 100644 --- a/build/macosx/platform_specific_code/juce_mac_Files.cpp +++ b/build/macosx/platform_specific_code/juce_mac_Files.cpp @@ -426,6 +426,12 @@ bool File::isOnHardDisk() const throw() return ! (isOnCDRomDrive() || isFileOnDriveType (this, (const char**) nonHDTypes)); } +bool File::isOnRemovableDrive() const throw() +{ + jassertfalse // xxx not implemented for mac! + return false; +} + static bool juce_isHiddenFile (const String& path) throw() { FSRef ref; diff --git a/juce_amalgamated.cpp b/juce_amalgamated.cpp index 9c1bdeebbe..a6af6fdbe3 100644 --- a/juce_amalgamated.cpp +++ b/juce_amalgamated.cpp @@ -244318,6 +244318,12 @@ bool File::isOnHardDisk() const throw() return true; } +bool File::isOnRemovableDrive() const throw() +{ + jassertfalse // xxx not implemented for linux! + return false; +} + bool File::isHidden() const throw() { return getFileName().startsWithChar (T('.')); @@ -252245,6 +252251,12 @@ bool File::isOnHardDisk() const throw() return ! (isOnCDRomDrive() || isFileOnDriveType (this, (const char**) nonHDTypes)); } +bool File::isOnRemovableDrive() const throw() +{ + jassertfalse // xxx not implemented for mac! + return false; +} + static bool juce_isHiddenFile (const String& path) throw() { FSRef ref;