1///////////////////////////////////////////////////////////////////////////// 2// Name: src/palmos/filedlg.cpp 3// Purpose: wxFileDialog 4// Author: William Osborne - minimal working wxPalmOS port 5// Modified by: 6// Created: 10/13/04 7// RCS-ID: $Id: filedlg.cpp 39651 2006-06-09 17:50:46Z ABX $ 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#if wxUSE_FILEDLG && !defined(__SMARTPHONE__) 28 29#include "wx/filedlg.h" 30 31#ifndef WX_PRECOMP 32 #include "wx/utils.h" 33 #include "wx/msgdlg.h" 34 #include "wx/filefn.h" 35 #include "wx/intl.h" 36 #include "wx/log.h" 37 #include "wx/app.h" 38 #include "wx/math.h" 39#endif 40 41#include "wx/palmos/private.h" 42 43#include <stdlib.h> 44#include <string.h> 45 46#include "wx/filename.h" 47#include "wx/tokenzr.h" 48 49#ifndef OFN_EXPLORER 50 #define OFN_EXPLORER 0x00080000 51#endif 52 53// ---------------------------------------------------------------------------- 54// constants 55// ---------------------------------------------------------------------------- 56 57#define wxMAXPATH 1024 58 59# define wxMAXFILE 1024 60 61# define wxMAXEXT 5 62 63// ============================================================================ 64// implementation 65// ============================================================================ 66 67IMPLEMENT_CLASS(wxFileDialog, wxFileDialogBase) 68 69// ---------------------------------------------------------------------------- 70// wxFileDialog 71// ---------------------------------------------------------------------------- 72 73wxFileDialog::wxFileDialog(wxWindow *parent, 74 const wxString& message, 75 const wxString& defaultDir, 76 const wxString& defaultFileName, 77 const wxString& wildCard, 78 long style, 79 const wxPoint& pos, 80 const wxSize& sz, 81 const wxString& name) 82 :wxFileDialogBase(parent, message, defaultDir, defaultFileName, wildCard, style, pos, sz, name) 83 84{ 85} 86 87void wxFileDialog::GetPaths(wxArrayString& paths) const 88{ 89} 90 91void wxFileDialog::GetFilenames(wxArrayString& files) const 92{ 93} 94 95void wxFileDialog::SetPath(const wxString& path) 96{ 97} 98 99int wxFileDialog::ShowModal() 100{ 101 return wxID_CANCEL; 102} 103 104#endif // wxUSE_FILEDLG 105