X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/76e9224eb2edea8afe45faa6a1cd1b2894d245c2..ae7e6cc946f85a9f12ab97f5860bf8d6235ec12a:/interface/wx/filename.h diff --git a/interface/wx/filename.h b/interface/wx/filename.h index 2310985da8..721c9c2f6c 100644 --- a/interface/wx/filename.h +++ b/interface/wx/filename.h @@ -148,6 +148,7 @@ wxULongLong wxInvalidSize; @li wxFileName::AssignCwd() @li wxFileName::AssignDir() @li wxFileName::AssignHomeDir() + @li wxFileName::AssignTempFileName() @li wxFileName::DirName() @li wxFileName::FileName() @li wxFileName::operator=() @@ -337,11 +338,29 @@ public: /** The function calls CreateTempFileName() to create a temporary file and sets this object to the name of the file. + If a temporary file couldn't be created, the object is put into - an invalid state (see IsOk()) + an invalid state (see IsOk()). + */ + void AssignTempFileName(const wxString& prefix); + + /** + The function calls CreateTempFileName() to create a temporary + file name and open @a fileTemp with it. + + If the file couldn't be opened, the object is put into + an invalid state (see IsOk()). + */ + void AssignTempFileName(const wxString& prefix, wxFile* fileTemp); + + /** + The function calls CreateTempFileName() to create a temporary + file name and open @a fileTemp with it. + + If the file couldn't be opened, the object is put into + an invalid state (see IsOk()). */ - void AssignTempFileName(const wxString& prefix, - wxFile* fileTemp = NULL); + void AssignTempFileName(const wxString& prefix, wxFFile* fileTemp); /** Reset all components to default, uninitialized state. @@ -543,7 +562,7 @@ public: @see GetPathSeparators() */ - static wxChar GetPathSeparator(wxPathFormat format = wxPATH_NATIVE); + static wxUniChar GetPathSeparator(wxPathFormat format = wxPATH_NATIVE); /** Returns the string containing all the path separators for this format.