]> git.saurik.com Git - wxWidgets.git/blame - src/msdos/dir.cpp
Add help button support to wxRibbonBar.
[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"
81d9e625
MW
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
81d9e625
MW
60// ----------------------------------------------------------------------------
61// wxDir construction/destruction
62// ----------------------------------------------------------------------------
63
127eab18 64wxDir::wxDir(const wxString& WXUNUSED(dirname))
81d9e625
MW
65{
66}
67
127eab18 68bool wxDir::Open(const wxString& WXUNUSED(dirname))
81d9e625
MW
69{
70 return false;
71}
72
73bool wxDir::IsOpened() const
74{
75 return false;
76}
77
78wxString wxDir::GetName() const
79{
127eab18 80 return wxEmptyString;
81d9e625
MW
81}
82
83wxDir::~wxDir()
84{
85}
86
87// ----------------------------------------------------------------------------
88// wxDir enumerating
89// ----------------------------------------------------------------------------
90
127eab18
WS
91bool wxDir::GetFirst(wxString *WXUNUSED(filename),
92 const wxString& WXUNUSED(filespec),
93 int WXUNUSED(flags)) const
81d9e625
MW
94{
95 return false;
96}
97
127eab18 98bool wxDir::GetNext(wxString *WXUNUSED(filename)) const
81d9e625
MW
99{
100 return false;
101}