]>
git.saurik.com Git - wxWidgets.git/blob - src/msdos/dir.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/msdos/dir.cpp
3 // Purpose: wxDir implementation for DOS
4 // Author: derived from wxPalmOS code
7 // Copyright: (c) William Osborne
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 // ============================================================================
13 // ============================================================================
15 // ----------------------------------------------------------------------------
17 // ----------------------------------------------------------------------------
19 // For compilers that support precompilation, includes "wx.h".
20 #include "wx/wxprec.h"
33 // ----------------------------------------------------------------------------
34 // define the types and functions used for file searching
35 // ----------------------------------------------------------------------------
37 // ----------------------------------------------------------------------------
39 // ----------------------------------------------------------------------------
42 #define MAX_PATH 260 // from VC++ headers
45 // ----------------------------------------------------------------------------
47 // ----------------------------------------------------------------------------
49 #define M_DIR ((wxDirData *)m_data)
51 // ----------------------------------------------------------------------------
53 // ----------------------------------------------------------------------------
55 // ============================================================================
57 // ============================================================================
59 // ----------------------------------------------------------------------------
60 // wxDir construction/destruction
61 // ----------------------------------------------------------------------------
63 wxDir::wxDir(const wxString
& WXUNUSED(dirname
))
67 bool wxDir::Open(const wxString
& WXUNUSED(dirname
))
72 bool wxDir::IsOpened() const
77 wxString
wxDir::GetName() const
86 // ----------------------------------------------------------------------------
88 // ----------------------------------------------------------------------------
90 bool wxDir::GetFirst(wxString
*WXUNUSED(filename
),
91 const wxString
& WXUNUSED(filespec
),
92 int WXUNUSED(flags
)) const
97 bool wxDir::GetNext(wxString
*WXUNUSED(filename
)) const