]> git.saurik.com Git - wxWidgets.git/blob - src/palmos/dir.cpp
fix for HP and IBM compilers, calls to static template functions must be qualified
[wxWidgets.git] / src / palmos / dir.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/palmos/dir.cpp
3 // Purpose: wxDir implementation for PalmOS
4 // Author: William Osborne - minimal working wxPalmOS port
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 // 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 */
66 bool wxDir::Exists(const wxString& dir)
67 {
68 return false;
69 }
70
71 // ----------------------------------------------------------------------------
72 // wxDir construction/destruction
73 // ----------------------------------------------------------------------------
74
75 wxDir::wxDir(const wxString& dirname)
76 {
77 }
78
79 bool wxDir::Open(const wxString& dirname)
80 {
81 return false;
82 }
83
84 bool wxDir::IsOpened() const
85 {
86 return false;
87 }
88
89 wxString wxDir::GetName() const
90 {
91 wxString name;
92
93 return name;
94 }
95
96 wxDir::~wxDir()
97 {
98 }
99
100 // ----------------------------------------------------------------------------
101 // wxDir enumerating
102 // ----------------------------------------------------------------------------
103
104 bool wxDir::GetFirst(wxString *filename,
105 const wxString& filespec,
106 int flags) const
107 {
108 return false;
109 }
110
111 bool wxDir::GetNext(wxString *filename) const
112 {
113 return false;
114 }
115