00001
00002
00003
00004
00005
00006
00007
00008
00009
00011
00012 #ifndef __wxFileUtilities_h__
00013 #define __wxFileUtilities_h__
00014
00015 #include "wx/wx.h"
00016
00017 #include <wx/arrstr.h>
00018 #include <wx/dir.h>
00019 #include <wx/filename.h>
00020
00021 bool CreatePath(const wxFileName& filPath, int perm = 0777);
00022 bool DeletePath(const wxFileName& filPath);
00023 bool DeleteFiles(const wxFileName& filPath);
00024 wxArrayString GetDirectories(const wxFileName& filPath);
00025 wxArrayString GetFiles(const wxFileName& filPath);
00031 bool PathNameExists(const wxString& sPathName);
00032
00033 #ifdef __UNIX__
00034 wxString GetLinkDestination(const wxFileName& fil);
00035 #endif // def __UNIX__
00036
00037
00038 wxString GetUniquePathName(const wxString& sDefaultPathName);
00039
00040
00041
00042
00043
00044 #endif // ndef __wxFileUtilities_h__