make more wxFileName methods const (closes #10887)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-06-12 15:28:45 +00:00
parent 517add0d35
commit d9e80dce15
3 changed files with 13 additions and 13 deletions

View File

@@ -243,10 +243,10 @@ public:
// (any of the pointers may be NULL)
bool SetTimes(const wxDateTime *dtAccess,
const wxDateTime *dtMod,
const wxDateTime *dtCreate);
const wxDateTime *dtCreate) const;
// set the access and modification times to the current moment
bool Touch();
bool Touch() const;
// return the last access, last modification and create times
// (any of the pointers may be NULL)
@@ -265,7 +265,7 @@ public:
#if defined( __WXOSX_MAC__ ) && wxOSX_USE_CARBON
bool MacSetTypeAndCreator( wxUint32 type , wxUint32 creator ) ;
bool MacGetTypeAndCreator( wxUint32 *type , wxUint32 *creator ) ;
bool MacGetTypeAndCreator( wxUint32 *type , wxUint32 *creator ) const;
// gets the 'common' type and creator for a certain extension
static bool MacFindDefaultTypeAndCreator( const wxString& ext , wxUint32 *type , wxUint32 *creator ) ;
// registers application defined extensions and their default type and creator
@@ -281,7 +281,7 @@ public:
static wxString GetCwd(const wxString& volume = wxEmptyString);
// change the current working directory
bool SetCwd();
bool SetCwd() const;
static bool SetCwd( const wxString &cwd );
// get the value of user home (Unix only mainly)
@@ -358,7 +358,7 @@ public:
// the arguments
bool GetShortcutTarget(const wxString& shortcutPath,
wxString& targetFilename,
wxString* arguments = NULL);
wxString* arguments = NULL) const;
#endif
#ifndef __WXWINCE__