Remove all lines containing cvs/svn "$Id$" keyword.
[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 // Copyright: (c) William Osborne
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
10
11 // ============================================================================
12 // declarations
13 // ============================================================================
14
15 // ----------------------------------------------------------------------------
16 // headers
17 // ----------------------------------------------------------------------------
18
19 // For compilers that support precompilation, includes "wx.h".
20 #include "wx/wxprec.h"
21
22 #ifdef __BORLANDC__
23 #pragma hdrstop
24 #endif
25
26 #ifndef WX_PRECOMP
27 #include "wx/intl.h"
28 #include "wx/log.h"
29 #endif // PCH
30
31 #include "wx/dir.h"
32
33 // ----------------------------------------------------------------------------
34 // define the types and functions used for file searching
35 // ----------------------------------------------------------------------------
36
37 // ----------------------------------------------------------------------------
38 // constants
39 // ----------------------------------------------------------------------------
40
41 #ifndef MAX_PATH
42 #define MAX_PATH 260 // from VC++ headers
43 #endif
44
45 // ----------------------------------------------------------------------------
46 // macros
47 // ----------------------------------------------------------------------------
48
49 #define M_DIR ((wxDirData *)m_data)
50
51 // ----------------------------------------------------------------------------
52 // private classes
53 // ----------------------------------------------------------------------------
54
55 // ============================================================================
56 // implementation
57 // ============================================================================
58
59 // ----------------------------------------------------------------------------
60 // wxDir construction/destruction
61 // ----------------------------------------------------------------------------
62
63 wxDir::wxDir(const wxString& WXUNUSED(dirname))
64 {
65 }
66
67 bool wxDir::Open(const wxString& WXUNUSED(dirname))
68 {
69 return false;
70 }
71
72 bool wxDir::IsOpened() const
73 {
74 return false;
75 }
76
77 wxString wxDir::GetName() const
78 {
79 return wxEmptyString;
80 }
81
82 wxDir::~wxDir()
83 {
84 }
85
86 // ----------------------------------------------------------------------------
87 // wxDir enumerating
88 // ----------------------------------------------------------------------------
89
90 bool wxDir::GetFirst(wxString *WXUNUSED(filename),
91 const wxString& WXUNUSED(filespec),
92 int WXUNUSED(flags)) const
93 {
94 return false;
95 }
96
97 bool wxDir::GetNext(wxString *WXUNUSED(filename)) const
98 {
99 return false;
100 }