projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use wxGetTranslation() instead of _() in the public headers.
[wxWidgets.git]
/
src
/
msdos
/
dir.cpp
diff --git
a/src/msdos/dir.cpp
b/src/msdos/dir.cpp
index 7ae2827cfd6dc41e2b1dbf752266c0afcc29c093..d21181bc6105fcfaecc0ad50e37b961e8dab63cf 100644
(file)
--- a/
src/msdos/dir.cpp
+++ b/
src/msdos/dir.cpp
@@
-1,10
+1,9
@@
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
-// Name: src/
palm
os/dir.cpp
-// Purpose: wxDir implementation for
Palm
OS
-// Author:
William Osborne - minimal working wxPalmOS port
+// Name: src/
msd
os/dir.cpp
+// Purpose: wxDir implementation for
D
OS
+// Author:
derived from wxPalmOS code
// Modified by:
// Created: 10.13.04
// Modified by:
// Created: 10.13.04
-// RCS-ID: $Id$
// Copyright: (c) William Osborne
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// Copyright: (c) William Osborne
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
@@
-17,10
+16,6
@@
// headers
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma implementation "dir.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
@@
-34,7
+29,6
@@
#endif // PCH
#include "wx/dir.h"
#endif // PCH
#include "wx/dir.h"
-#include "wx/filefn.h" // for wxDirExists()
// ----------------------------------------------------------------------------
// define the types and functions used for file searching
// ----------------------------------------------------------------------------
// define the types and functions used for file searching
@@
-62,25
+56,15
@@
// implementation
// ============================================================================
// implementation
// ============================================================================
-// ----------------------------------------------------------------------------
-// wxDir helpers
-// ----------------------------------------------------------------------------
-
-/* static */
-bool wxDir::Exists(const wxString& dir)
-{
- return false;
-}
-
// ----------------------------------------------------------------------------
// wxDir construction/destruction
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// 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;
}
{
return false;
}
@@
-92,9
+76,7
@@
bool wxDir::IsOpened() const
wxString wxDir::GetName() const
{
wxString wxDir::GetName() const
{
- wxString name;
-
- return name;
+ return wxEmptyString;
}
wxDir::~wxDir()
}
wxDir::~wxDir()
@@
-105,15
+87,14
@@
wxDir::~wxDir()
// wxDir enumerating
// ----------------------------------------------------------------------------
// 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;
}
{
return false;
}
-bool wxDir::GetNext(wxString *
filename
) const
+bool wxDir::GetNext(wxString *
WXUNUSED(filename)
) const
{
return false;
}
{
return false;
}
-