/////////////////////////////////////////////////////////////////////////////
-// Name: src/palmos/dir.cpp
-// Purpose: wxDir implementation for PalmOS
-// Author: William Osborne - minimal working wxPalmOS port
+// Name: src/msdos/dir.cpp
+// Purpose: wxDir implementation for DOS
+// Author: derived from wxPalmOS code
// Modified by:
// Created: 10.13.04
// RCS-ID: $Id$
#endif // PCH
#include "wx/dir.h"
-#include "wx/filefn.h" // for wxDirExists()
// ----------------------------------------------------------------------------
// define the types and functions used for file searching
// implementation
// ============================================================================
-// ----------------------------------------------------------------------------
-// wxDir helpers
-// ----------------------------------------------------------------------------
-
-/* static */
-bool wxDir::Exists(const wxString& dir)
-{
- return false;
-}
-
// ----------------------------------------------------------------------------
// wxDir construction/destruction
// ----------------------------------------------------------------------------
-wxDir::wxDir(const wxString& dirname)
+wxDir::wxDir(const wxString& WXUNUSED(dirname))
{
}
-bool wxDir::Open(const wxString& dirname)
+bool wxDir::Open(const wxString& WXUNUSED(dirname))
{
return false;
}
wxString wxDir::GetName() const
{
- wxString name;
-
- return name;
+ return wxEmptyString;
}
wxDir::~wxDir()
// wxDir enumerating
// ----------------------------------------------------------------------------
-bool wxDir::GetFirst(wxString *filename,
- const wxString& filespec,
- int flags) const
+bool wxDir::GetFirst(wxString *WXUNUSED(filename),
+ const wxString& WXUNUSED(filespec),
+ int WXUNUSED(flags)) const
{
return false;
}
-bool wxDir::GetNext(wxString *filename) const
+bool wxDir::GetNext(wxString *WXUNUSED(filename)) const
{
return false;
}
-