mark all dtors which are virtual because base class dtor is virtual explicitly virtua...
[wxWidgets.git] / src / msdos / dir.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/msdos/dir.cpp
3 // Purpose: wxDir implementation for DOS
4 // Author: derived from wxPalmOS code
5 // Modified by:
6 // Created: 10.13.04
7 // RCS-ID: $Id$
8 // Copyright: (c) William Osborne
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 // ============================================================================
13 // declarations
14 // ============================================================================
15
16 // ----------------------------------------------------------------------------
17 // headers
18 // ----------------------------------------------------------------------------
19
20 // For compilers that support precompilation, includes "wx.h".
21 #include "wx/wxprec.h"
22
23 #ifdef __BORLANDC__
24 #pragma hdrstop
25 #endif
26
27 #ifndef WX_PRECOMP
28 #include "wx/intl.h"
29 #include "wx/log.h"
30 #endif // PCH
31
32 #include "wx/dir.h"
33 #include "wx/filefn.h" // for wxDirExists()
34
35 // ----------------------------------------------------------------------------
36 // define the types and functions used for file searching
37 // ----------------------------------------------------------------------------
38
39 // ----------------------------------------------------------------------------
40 // constants
41 // ----------------------------------------------------------------------------
42
43 #ifndef MAX_PATH
44 #define MAX_PATH 260 // from VC++ headers
45 #endif
46
47 // ----------------------------------------------------------------------------
48 // macros
49 // ----------------------------------------------------------------------------
50
51 #define M_DIR ((wxDirData *)m_data)
52
53 // ----------------------------------------------------------------------------
54 // private classes
55 // ----------------------------------------------------------------------------
56
57 // ============================================================================
58 // implementation
59 // ============================================================================
60
61 // ----------------------------------------------------------------------------
62 // wxDir helpers
63 // ----------------------------------------------------------------------------
64
65 /* static */
66 bool wxDir::Exists(const wxString& WXUNUSED(dir))
67 {
68 return false;
69 }
70
71 // ----------------------------------------------------------------------------
72 // wxDir construction/destruction
73 // ----------------------------------------------------------------------------
74
75 wxDir::wxDir(const wxString& WXUNUSED(dirname))
76 {
77 }
78
79 bool wxDir::Open(const wxString& WXUNUSED(dirname))
80 {
81 return false;
82 }
83
84 bool wxDir::IsOpened() const
85 {
86 return false;
87 }
88
89 wxString wxDir::GetName() const
90 {
91 return wxEmptyString;
92 }
93
94 wxDir::~wxDir()
95 {
96 }
97
98 // ----------------------------------------------------------------------------
99 // wxDir enumerating
100 // ----------------------------------------------------------------------------
101
102 bool wxDir::GetFirst(wxString *WXUNUSED(filename),
103 const wxString& WXUNUSED(filespec),
104 int WXUNUSED(flags)) const
105 {
106 return false;
107 }
108
109 bool wxDir::GetNext(wxString *WXUNUSED(filename)) const
110 {
111 return false;
112 }