]> git.saurik.com Git - wxWidgets.git/blob - include/wx/palmos/filedlg.h
Added windowing and scrolling logic to generic
[wxWidgets.git] / include / wx / palmos / filedlg.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/palmos/filedlg.h
3 // Purpose: wxFileDialog class
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 #ifndef _WX_FILEDLG_H_
13 #define _WX_FILEDLG_H_
14
15 //-------------------------------------------------------------------------
16 // wxFileDialog
17 //-------------------------------------------------------------------------
18
19 class WXDLLEXPORT wxFileDialog: public wxFileDialogBase
20 {
21 public:
22 wxFileDialog(wxWindow *parent,
23 const wxString& message = wxFileSelectorPromptStr,
24 const wxString& defaultDir = wxEmptyString,
25 const wxString& defaultFile = wxEmptyString,
26 const wxString& wildCard = wxFileSelectorDefaultWildcardStr,
27 long style = 0,
28 const wxPoint& pos = wxDefaultPosition);
29
30 virtual void SetPath(const wxString& path);
31 virtual void GetPaths(wxArrayString& paths) const;
32 virtual void GetFilenames(wxArrayString& files) const;
33
34 virtual int ShowModal();
35
36 private:
37 wxArrayString m_fileNames;
38
39 DECLARE_DYNAMIC_CLASS(wxFileDialog)
40 DECLARE_NO_COPY_CLASS(wxFileDialog)
41 };
42
43 #endif // _WX_FILEDLG_H_
44