From 762a5bb0f9f3a540805f6c6d19e87b363db03989 Mon Sep 17 00:00:00 2001 From: jules Date: Fri, 1 Aug 2008 11:08:18 +0000 Subject: [PATCH] --- .../platform_specific_code/juce_linux_Files.cpp | 6 ++++++ .../macosx/platform_specific_code/juce_mac_Files.cpp | 6 ++++++ juce_amalgamated.cpp | 12 ++++++++++++ 3 files changed, 24 insertions(+) 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;