// Purpose: interface of wxFileName
// Author: wxWidgets team
// RCS-ID: $Id$
-// Licence: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
*/
enum wxSizeConvention
{
- /// 1000 bytes = 1KiB.
- wxSIZE_CONV_REAL_SI,
+ /// 1024 bytes = 1KB.
+ wxSIZE_CONV_TRADITIONAL,
- /// 1000 bytes = 1KB.
- wxSIZE_CONV_TRAD_1000,
+ /// 1024 bytes = 1KiB.
+ wxSIZE_CONV_IEC,
- /// 1024 bytes = 1KB.
- wxSIZE_CONV_TRAD_1024
+ /// 1000 bytes = 1KB.
+ wxSIZE_CONV_SI
};
bool DirExists() const;
/**
- Returns @true if the directory with this name exists.
+ Returns @true if the directory with name @a dir exists.
*/
static bool DirExists(const wxString& dir);
bool FileExists() const;
/**
- Returns @true if the file with this name exists.
+ Returns @true if the file with name @a file exists.
@see DirExists()
*/
wxString
GetHumanReadableSize(const wxString& failmsg = _("Not available"),
int precision = 1,
- wxSizeConvention conv = wxSIZE_CONV_TRADIONAL) const;
+ wxSizeConvention conv = wxSIZE_CONV_TRADITIONAL) const;
static wxString
GetHumanReadableSize(const wxULongLong& bytes,
const wxString& nullsize = _("Not available"),
int precision = 1,
- wxSizeConvention conv = wxSIZE_CONV_REAL_SI);
+ wxSizeConvention conv = wxSIZE_CONV_TRADITIONAL);
//@}
/**