]> git.saurik.com Git - wxWidgets.git/blame - src/palmos/filedlg.cpp
readability cleanup
[wxWidgets.git] / src / palmos / filedlg.cpp
CommitLineData
ffecfa5a
JS
1/////////////////////////////////////////////////////////////////////////////
2// Name: src/palmos/filedlg.cpp
3// Purpose: wxFileDialog
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
ffecfa5a
JS
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#ifndef WX_PRECOMP
30 #include "wx/utils.h"
31 #include "wx/msgdlg.h"
32 #include "wx/filedlg.h"
33 #include "wx/filefn.h"
34 #include "wx/intl.h"
35 #include "wx/log.h"
36 #include "wx/app.h"
463c4d71 37 #include "wx/math.h"
ffecfa5a
JS
38#endif
39
40#include "wx/palmos/private.h"
41
ffecfa5a
JS
42#include <stdlib.h>
43#include <string.h>
44
45#include "wx/filename.h"
46#include "wx/tokenzr.h"
47
48#ifndef OFN_EXPLORER
49 #define OFN_EXPLORER 0x00080000
50#endif
51
52// ----------------------------------------------------------------------------
53// constants
54// ----------------------------------------------------------------------------
55
56#define wxMAXPATH 1024
57
58# define wxMAXFILE 1024
59
60# define wxMAXEXT 5
61
62// ============================================================================
63// implementation
64// ============================================================================
65
66IMPLEMENT_CLASS(wxFileDialog, wxFileDialogBase)
67
68// ----------------------------------------------------------------------------
69// wxFileDialog
70// ----------------------------------------------------------------------------
71
72wxFileDialog::wxFileDialog(wxWindow *parent,
73 const wxString& message,
74 const wxString& defaultDir,
75 const wxString& defaultFileName,
76 const wxString& wildCard,
77 long style,
78 const wxPoint& pos)
79 :wxFileDialogBase(parent, message, defaultDir, defaultFileName, wildCard, style, pos)
80
81{
82}
83
84void wxFileDialog::GetPaths(wxArrayString& paths) const
85{
86}
87
88void wxFileDialog::GetFilenames(wxArrayString& files) const
89{
90}
91
92void wxFileDialog::SetPath(const wxString& path)
93{
94}
95
96int wxFileDialog::ShowModal()
97{
98 return wxID_CANCEL;
99}
100
101#endif // wxUSE_FILEDLG
102