///////////////////////////////////////////////////////////////////////////////
// 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
///////////////////////////////////////////////////////////////////////////////
// headers
// ----------------------------------------------------------------------------
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma implementation "fsvolume.h"
-#endif
-
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#if wxUSE_FSVOLUME
+#include "wx/volume.h"
+
#ifndef WX_PRECOMP
#if wxUSE_GUI
#include "wx/icon.h"
#endif
#include "wx/intl.h"
+ #include "wx/arrstr.h"
+ #include "wx/hashmap.h"
#endif // WX_PRECOMP
-#include "wx/arrstr.h"
-#include "wx/volume.h"
-
-#include "VFSMgr.h"
+#include <VFSMgr.h>
+#include <PalmTypesCompatibility.h>
#if wxUSE_BASE
// 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;
if (err != errNone)
break;
- }
+ }
return list;
} // GetVolumes
#endif // wxUSE_GUI
#endif // wxUSE_FSVOLUME
-