]>
Commit | Line | Data |
---|---|---|
ffecfa5a JS |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: wx/palmos/filedlg.h | |
3 | // Purpose: wxFileDialog class | |
e1d63b79 | 4 | // Author: William Osborne - minimal working wxPalmOS port |
ffecfa5a JS |
5 | // Modified by: |
6 | // Created: 10/13/04 | |
e1d63b79 | 7 | // RCS-ID: $Id$ |
ffecfa5a JS |
8 | // Copyright: (c) William Osborne |
9 | // Licence: wxWindows licence | |
10 | ///////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | #ifndef _WX_FILEDLG_H_ | |
13 | #define _WX_FILEDLG_H_ | |
14 | ||
ffecfa5a JS |
15 | //------------------------------------------------------------------------- |
16 | // wxFileDialog | |
17 | //------------------------------------------------------------------------- | |
18 | ||
53a2db12 | 19 | class WXDLLIMPEXP_CORE wxFileDialog: public wxFileDialogBase |
ffecfa5a JS |
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, | |
ff3e84ff VZ |
27 | long style = wxFD_DEFAULT_STYLE, |
28 | const wxPoint& pos = wxDefaultPosition, | |
29 | const wxSize& sz = wxDefaultSize, | |
30 | const wxString& name = wxFileDialogNameStr); | |
ffecfa5a JS |
31 | |
32 | virtual void SetPath(const wxString& path); | |
33 | virtual void GetPaths(wxArrayString& paths) const; | |
34 | virtual void GetFilenames(wxArrayString& files) const; | |
35 | ||
36 | virtual int ShowModal(); | |
37 | ||
38 | private: | |
39 | wxArrayString m_fileNames; | |
40 | ||
41 | DECLARE_DYNAMIC_CLASS(wxFileDialog) | |
c0c133e1 | 42 | wxDECLARE_NO_COPY_CLASS(wxFileDialog); |
ffecfa5a JS |
43 | }; |
44 | ||
45 | #endif // _WX_FILEDLG_H_ | |
46 |