-};
-
-// File selector - backward compatibility
-WXDLLEXPORT wxString
-wxFileSelector(const wxChar *message = wxFileSelectorPromptStr,
- const wxChar *default_path = NULL,
- const wxChar *default_filename = NULL,
- const wxChar *default_extension = NULL,
- const wxChar *wildcard = wxFileSelectorDefaultWildcardStr,
- int flags = 0,
- wxWindow *parent = NULL,
- int x = -1, int y = -1);
-
-// An extended version of wxFileSelector
-WXDLLEXPORT wxString
-wxFileSelectorEx(const wxChar *message = wxFileSelectorPromptStr,
- const wxChar *default_path = NULL,
- const wxChar *default_filename = NULL,
- int *indexDefaultExtension = NULL,
- const wxChar *wildcard = wxFileSelectorDefaultWildcardStr,
- int flags = 0,
- wxWindow *parent = NULL,
- int x = -1, int y = -1);
-
-// Ask for filename to load
-WXDLLEXPORT wxString
-wxLoadFileSelector(const wxChar *what,
- const wxChar *extension,
- const wxChar *default_name = (const wxChar *)NULL,
- wxWindow *parent = (wxWindow *) NULL);
-
-// Ask for filename to save
-WXDLLEXPORT wxString
-wxSaveFileSelector(const wxChar *what,
- const wxChar *extension,
- const wxChar *default_name = (const wxChar *) NULL,
- wxWindow *parent = (wxWindow *) NULL);
-
-#endif // USE_GENERIC_FILEDIALOG
-
-//-----------------------------------------------------------------------------
-// wxFileData
-//-----------------------------------------------------------------------------
-
-class WXDLLEXPORT wxFileData
-{
-public:
- enum fileType
- {
- is_file = 0,
- is_dir = 0x0001,
- is_link = 0x0002,
- is_exe = 0x0004,
- is_drive = 0x0008
- };
-
- wxFileData( const wxString &name, const wxString &fname, fileType type );
- wxString GetName() const;
- wxString GetFullName() const;
- wxString GetHint() const;
-
- // the wxFileCtrl fields in report view
- enum fileListFieldType
- {
- FileList_Name,
- FileList_Type,
- FileList_Date,
- FileList_Time,
-#ifdef __UNIX__
- FileList_Perm,
-#endif // __UNIX__
- FileList_Max
- };
-
- wxString GetEntry( fileListFieldType num ) const;
-
- bool IsDir() const;
- bool IsLink() const;
- bool IsExe() const;
- bool IsDrive() const;
- long GetSize() const { return m_size; }
- int GetHour() const { return m_hour; }
- int GetMinute() const { return m_minute; }
- int GetYear() const { return m_year; }
- int GetMonth() const { return m_month; }
- int GetDay() const { return m_day; }
-
- void MakeItem( wxListItem &item );
- void SetNewName( const wxString &name, const wxString &fname );