@li wxFileName::AssignCwd()
@li wxFileName::AssignDir()
@li wxFileName::AssignHomeDir()
+ @li wxFileName::AssignTempFileName()
@li wxFileName::DirName()
@li wxFileName::FileName()
@li wxFileName::operator=()
/**
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.
@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.