]> git.saurik.com Git - wxWidgets.git/blame - src/msdos/dir.cpp
Fix stc doxygen warnings and regen stc files.
[wxWidgets.git] / src / msdos / dir.cpp
CommitLineData
81d9e625 1/////////////////////////////////////////////////////////////////////////////
127eab18
WS
2// Name: src/msdos/dir.cpp
3// Purpose: wxDir implementation for DOS
4// Author: derived from wxPalmOS code
81d9e625
MW
5// Modified by:
6// Created: 10.13.04
81d9e625
MW
7// Copyright: (c) William Osborne
8// Licence: wxWindows licence
9/////////////////////////////////////////////////////////////////////////////
10
11// ============================================================================
12// declarations
13// ============================================================================
14
15// ----------------------------------------------------------------------------
16// headers
17// ----------------------------------------------------------------------------
18
81d9e625
MW
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"
81d9e625
MW
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
81d9e625
MW
59// ----------------------------------------------------------------------------
60// wxDir construction/destruction
61// ----------------------------------------------------------------------------
62
127eab18 63wxDir::wxDir(const wxString& WXUNUSED(dirname))
81d9e625
MW
64{
65}
66
127eab18 67bool wxDir::Open(const wxString& WXUNUSED(dirname))
81d9e625
MW
68{
69 return false;
70}
71
72bool wxDir::IsOpened() const
73{
74 return false;
75}
76
77wxString wxDir::GetName() const
78{
127eab18 79 return wxEmptyString;
81d9e625
MW
80}
81
82wxDir::~wxDir()
83{
84}
85
86// ----------------------------------------------------------------------------
87// wxDir enumerating
88// ----------------------------------------------------------------------------
89
127eab18
WS
90bool wxDir::GetFirst(wxString *WXUNUSED(filename),
91 const wxString& WXUNUSED(filespec),
92 int WXUNUSED(flags)) const
81d9e625
MW
93{
94 return false;
95}
96
127eab18 97bool wxDir::GetNext(wxString *WXUNUSED(filename)) const
81d9e625
MW
98{
99 return false;
100}