]>
git.saurik.com Git - wxWidgets.git/blob - src/msdos/dir.cpp
7693fb10b4e588b96b5099a76ac6d26450cf9257
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/msdos/dir.cpp
3 // Purpose: wxDir implementation for DOS
4 // Author: derived from wxPalmOS code
8 // Copyright: (c) William Osborne
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 // ============================================================================
14 // ============================================================================
16 // ----------------------------------------------------------------------------
18 // ----------------------------------------------------------------------------
20 // For compilers that support precompilation, includes "wx.h".
21 #include "wx/wxprec.h"
34 // ----------------------------------------------------------------------------
35 // define the types and functions used for file searching
36 // ----------------------------------------------------------------------------
38 // ----------------------------------------------------------------------------
40 // ----------------------------------------------------------------------------
43 #define MAX_PATH 260 // from VC++ headers
46 // ----------------------------------------------------------------------------
48 // ----------------------------------------------------------------------------
50 #define M_DIR ((wxDirData *)m_data)
52 // ----------------------------------------------------------------------------
54 // ----------------------------------------------------------------------------
56 // ============================================================================
58 // ============================================================================
60 // ----------------------------------------------------------------------------
61 // wxDir construction/destruction
62 // ----------------------------------------------------------------------------
64 wxDir::wxDir(const wxString
& WXUNUSED(dirname
))
68 bool wxDir::Open(const wxString
& WXUNUSED(dirname
))
73 bool wxDir::IsOpened() const
78 wxString
wxDir::GetName() const
87 // ----------------------------------------------------------------------------
89 // ----------------------------------------------------------------------------
91 bool wxDir::GetFirst(wxString
*WXUNUSED(filename
),
92 const wxString
& WXUNUSED(filespec
),
93 int WXUNUSED(flags
)) const
98 bool wxDir::GetNext(wxString
*WXUNUSED(filename
)) const