]> git.saurik.com Git - wxWidgets.git/blame - src/msdos/dir.cpp
Removed GetAdjustedBestSize().
[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
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
81d9e625
MW
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#include "wx/filefn.h" // for wxDirExists()
34
35// ----------------------------------------------------------------------------
36// define the types and functions used for file searching
37// ----------------------------------------------------------------------------
38
39// ----------------------------------------------------------------------------
40// constants
41// ----------------------------------------------------------------------------
42
43#ifndef MAX_PATH
44 #define MAX_PATH 260 // from VC++ headers
45#endif
46
47// ----------------------------------------------------------------------------
48// macros
49// ----------------------------------------------------------------------------
50
51#define M_DIR ((wxDirData *)m_data)
52
53// ----------------------------------------------------------------------------
54// private classes
55// ----------------------------------------------------------------------------
56
57// ============================================================================
58// implementation
59// ============================================================================
60
61// ----------------------------------------------------------------------------
62// wxDir helpers
63// ----------------------------------------------------------------------------
64
65/* static */
127eab18 66bool wxDir::Exists(const wxString& WXUNUSED(dir))
81d9e625
MW
67{
68 return false;
69}
70
71// ----------------------------------------------------------------------------
72// wxDir construction/destruction
73// ----------------------------------------------------------------------------
74
127eab18 75wxDir::wxDir(const wxString& WXUNUSED(dirname))
81d9e625
MW
76{
77}
78
127eab18 79bool wxDir::Open(const wxString& WXUNUSED(dirname))
81d9e625
MW
80{
81 return false;
82}
83
84bool wxDir::IsOpened() const
85{
86 return false;
87}
88
89wxString wxDir::GetName() const
90{
127eab18 91 return wxEmptyString;
81d9e625
MW
92}
93
94wxDir::~wxDir()
95{
96}
97
98// ----------------------------------------------------------------------------
99// wxDir enumerating
100// ----------------------------------------------------------------------------
101
127eab18
WS
102bool wxDir::GetFirst(wxString *WXUNUSED(filename),
103 const wxString& WXUNUSED(filespec),
104 int WXUNUSED(flags)) const
81d9e625
MW
105{
106 return false;
107}
108
127eab18 109bool wxDir::GetNext(wxString *WXUNUSED(filename)) const
81d9e625
MW
110{
111 return false;
112}