]> git.saurik.com Git - wxWidgets.git/blob - src/palmos/dir.cpp
added setup.h file containing the settings common to all ports and a script to update...
[wxWidgets.git] / src / palmos / dir.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: palmos/dir.cpp
3 // Purpose: wxDir implementation for PalmOS
4 // Author: William Osborne
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
20 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
21 #pragma implementation "dir.h"
22 #endif
23
24 // For compilers that support precompilation, includes "wx.h".
25 #include "wx/wxprec.h"
26
27 #ifdef __BORLANDC__
28 #pragma hdrstop
29 #endif
30
31 #ifndef WX_PRECOMP
32 #include "wx/intl.h"
33 #include "wx/log.h"
34 #endif // PCH
35
36 #include "wx/dir.h"
37 #include "wx/filefn.h" // for wxPathExists()
38
39 // ----------------------------------------------------------------------------
40 // define the types and functions used for file searching
41 // ----------------------------------------------------------------------------
42
43 // ----------------------------------------------------------------------------
44 // constants
45 // ----------------------------------------------------------------------------
46
47 #ifndef MAX_PATH
48 #define MAX_PATH 260 // from VC++ headers
49 #endif
50
51 // ----------------------------------------------------------------------------
52 // macros
53 // ----------------------------------------------------------------------------
54
55 #define M_DIR ((wxDirData *)m_data)
56
57 // ----------------------------------------------------------------------------
58 // private classes
59 // ----------------------------------------------------------------------------
60
61 // ============================================================================
62 // implementation
63 // ============================================================================
64
65 // ----------------------------------------------------------------------------
66 // wxDir helpers
67 // ----------------------------------------------------------------------------
68
69 /* static */
70 bool wxDir::Exists(const wxString& dir)
71 {
72 return false;
73 }
74
75 // ----------------------------------------------------------------------------
76 // wxDir construction/destruction
77 // ----------------------------------------------------------------------------
78
79 wxDir::wxDir(const wxString& dirname)
80 {
81 }
82
83 bool wxDir::Open(const wxString& dirname)
84 {
85 return false;
86 }
87
88 bool wxDir::IsOpened() const
89 {
90 return false;
91 }
92
93 wxString wxDir::GetName() const
94 {
95 wxString name;
96
97 return name;
98 }
99
100 wxDir::~wxDir()
101 {
102 }
103
104 // ----------------------------------------------------------------------------
105 // wxDir enumerating
106 // ----------------------------------------------------------------------------
107
108 bool wxDir::GetFirst(wxString *filename,
109 const wxString& filespec,
110 int flags) const
111 {
112 return false;
113 }
114
115 bool wxDir::GetNext(wxString *filename) const
116 {
117 return false;
118 }
119