]> git.saurik.com Git - wxWidgets.git/blame - src/palmos/dir.cpp
Fixed wxPropertySheetDialog for Smartphone
[wxWidgets.git] / src / palmos / dir.cpp
CommitLineData
ffecfa5a 1/////////////////////////////////////////////////////////////////////////////
e2731512 2// Name: src/palmos/dir.cpp
4055ed82 3// Purpose: wxDir implementation for PalmOS
e2731512 4// Author: William Osborne - minimal working wxPalmOS port
ffecfa5a
JS
5// Modified by:
6// Created: 10.13.04
e2731512 7// RCS-ID: $Id$
ffecfa5a
JS
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 */
70bool wxDir::Exists(const wxString& dir)
71{
72 return false;
73}
74
75// ----------------------------------------------------------------------------
76// wxDir construction/destruction
77// ----------------------------------------------------------------------------
78
79wxDir::wxDir(const wxString& dirname)
80{
81}
82
83bool wxDir::Open(const wxString& dirname)
84{
85 return false;
86}
87
88bool wxDir::IsOpened() const
89{
90 return false;
91}
92
93wxString wxDir::GetName() const
94{
95 wxString name;
96
97 return name;
98}
99
100wxDir::~wxDir()
101{
102}
103
104// ----------------------------------------------------------------------------
105// wxDir enumerating
106// ----------------------------------------------------------------------------
107
108bool wxDir::GetFirst(wxString *filename,
109 const wxString& filespec,
110 int flags) const
111{
112 return false;
113}
114
115bool wxDir::GetNext(wxString *filename) const
116{
117 return false;
118}
119