]> git.saurik.com Git - wxWidgets.git/blob - src/msdos/dir.cpp
Don't require skipping "page changed" event in wxMSW wxNotebook.
[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
34 // ----------------------------------------------------------------------------
35 // define the types and functions used for file searching
36 // ----------------------------------------------------------------------------
37
38 // ----------------------------------------------------------------------------
39 // constants
40 // ----------------------------------------------------------------------------
41
42 #ifndef MAX_PATH
43 #define MAX_PATH 260 // from VC++ headers
44 #endif
45
46 // ----------------------------------------------------------------------------
47 // macros
48 // ----------------------------------------------------------------------------
49
50 #define M_DIR ((wxDirData *)m_data)
51
52 // ----------------------------------------------------------------------------
53 // private classes
54 // ----------------------------------------------------------------------------
55
56 // ============================================================================
57 // implementation
58 // ============================================================================
59
60 // ----------------------------------------------------------------------------
61 // wxDir construction/destruction
62 // ----------------------------------------------------------------------------
63
64 wxDir::wxDir(const wxString& WXUNUSED(dirname))
65 {
66 }
67
68 bool wxDir::Open(const wxString& WXUNUSED(dirname))
69 {
70 return false;
71 }
72
73 bool wxDir::IsOpened() const
74 {
75 return false;
76 }
77
78 wxString wxDir::GetName() const
79 {
80 return wxEmptyString;
81 }
82
83 wxDir::~wxDir()
84 {
85 }
86
87 // ----------------------------------------------------------------------------
88 // wxDir enumerating
89 // ----------------------------------------------------------------------------
90
91 bool wxDir::GetFirst(wxString *WXUNUSED(filename),
92 const wxString& WXUNUSED(filespec),
93 int WXUNUSED(flags)) const
94 {
95 return false;
96 }
97
98 bool wxDir::GetNext(wxString *WXUNUSED(filename)) const
99 {
100 return false;
101 }