X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12839f76d85b0092036ab0ac42cb2934b037cef2..3cb3b8b84de3ff3b660108724139c24b39746449:/src/palmos/volume.cpp diff --git a/src/palmos/volume.cpp b/src/palmos/volume.cpp index 34a1c39cb0..042acfd85b 100644 --- a/src/palmos/volume.cpp +++ b/src/palmos/volume.cpp @@ -1,10 +1,10 @@ /////////////////////////////////////////////////////////////////////////////// // Name: src/palmos/volume.cpp // Purpose: wxFSVolume - encapsulates system volume information -// Author: William Osborne +// Author: William Osborne - minimal working wxPalmOS port // Modified by: // Created: 10/13/04 -// RCS-ID: $Id: +// RCS-ID: $Id$ // Copyright: (c) William Osborne // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "fsvolume.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ @@ -29,6 +25,8 @@ #if wxUSE_FSVOLUME +#include "wx/volume.h" + #ifndef WX_PRECOMP #if wxUSE_GUI #include "wx/icon.h" @@ -37,9 +35,10 @@ #endif // WX_PRECOMP #include "wx/arrstr.h" -#include "wx/volume.h" +#include "wx/hashmap.h" -#include "VFSMgr.h" +#include +#include #if wxUSE_BASE @@ -101,7 +100,7 @@ static unsigned GetBasicFlags(const wxChar* filename) // Purpose: Add a file to the list if it meets the filter requirement. // Notes: - See GetBasicFlags for remarks about the Mounted flag. //============================================================================= -static bool FilteredAdd(wxArrayString& list, const wxChar* filename, +static bool FilteredAdd(wxArrayString& list, const wxChar* filename, unsigned flagsSet, unsigned flagsUnset) { return false; @@ -139,7 +138,7 @@ wxArrayString wxFSVolumeBase::GetVolumes(int flagsSet, int flagsUnset) if (err != errNone) break; - } + } return list; } // GetVolumes @@ -235,4 +234,3 @@ wxIcon wxFSVolume::GetIcon(wxFSIconType type) const #endif // wxUSE_GUI #endif // wxUSE_FSVOLUME -