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: dir.cpp 35650 2005-09-23 12:56:45Z MR $ 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 */ 66bool wxDir::Exists(const wxString& dir) 67{ 68 return false; 69} 70 71// ---------------------------------------------------------------------------- 72// wxDir construction/destruction 73// ---------------------------------------------------------------------------- 74 75wxDir::wxDir(const wxString& dirname) 76{ 77} 78 79bool wxDir::Open(const wxString& dirname) 80{ 81 return false; 82} 83 84bool wxDir::IsOpened() const 85{ 86 return false; 87} 88 89wxString wxDir::GetName() const 90{ 91 wxString name; 92 93 return name; 94} 95 96wxDir::~wxDir() 97{ 98} 99 100// ---------------------------------------------------------------------------- 101// wxDir enumerating 102// ---------------------------------------------------------------------------- 103 104bool wxDir::GetFirst(wxString *filename, 105 const wxString& filespec, 106 int flags) const 107{ 108 return false; 109} 110 111bool wxDir::GetNext(wxString *filename) const 112{ 113 return false; 114} 115 116