24#include <wx/filename.h>
35#define FN_NORMALIZE_FLAGS ( wxPATH_NORM_DOTS | wxPATH_NORM_TILDE | wxPATH_NORM_ABSOLUTE | \
36 wxPATH_NORM_LONG | wxPATH_NORM_SHORTCUT )
48 WX_FILENAME(
const wxString& aPath,
const wxString& aFilename );
50 void SetFullName(
const wxString& aFileNameAndExtension );
51 void SetPath(
const wxString& aPath );
101 wxFileName& aResult );
WX_FILENAME(const wxString &aPath, const wxString &aFilename)
void SetFullName(const wxString &aFileNameAndExtension)
static void ResolvePossibleSymlinks(wxFileName &aFilename)
void SetPath(const wxString &aPath)
static bool IsSafeChildPath(const wxString &aChild)
Check that a child path is safe to append to a parent directory.
static bool ResolveArchiveEntryPath(const wxString &aDestDir, const wxString &aEntryName, wxFileName &aResult)
Resolve an untrusted archive entry name against the directory it is extracted into.
static bool SplitArchiveEntryName(const wxString &aEntryName, wxArrayString &aParts)
Split an untrusted archive entry name into its path components.
wxString GetFullPath() const
wxString GetFullName() const