Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

fileutils.h

Go to the documentation of this file.
00001 
00002 // Name:        fileutils.h
00003 // Purpose:     
00004 // Author:      Joe Yates
00005 // Modified by:
00006 // Created:     11/10/2004
00007 // RCS-ID:      $Id: fileutils.h,v 1.1.1.1 2006/01/24 22:14:56 titusd Exp $
00008 // Copyright:   (c) BID Snc
00009 // License:     BSD license (see the file 'LICENSE.txt')
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 // Name generation
00038 wxString  GetUniquePathName(const wxString& sDefaultPathName);
00039 /*
00040 wxString  GetUniqueDirectory(const wxString& sPath, const wxString& sDefaultDirectoryName);
00041 wxString  GetUniqueDirectory(const wxString& sPath);
00042 */
00043 
00044 #endif // ndef __wxFileUtilities_h__

Generated on Wed Jan 25 08:13:09 2006 for Sherpa wxWidgets Classes by doxygen 1.3.6