X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c9f7896861f734ce044ee8601ba2d8a6959c9d9e..9d52aad39a4e3b52c5baa50b9cc55caaf91bb026:/include/wx/filename.h diff --git a/include/wx/filename.h b/include/wx/filename.h index d56d2a2d90..6f3273257d 100644 --- a/include/wx/filename.h +++ b/include/wx/filename.h @@ -29,11 +29,11 @@ #include "wx/intl.h" #if wxUSE_FILE -class WXDLLIMPEXP_BASE wxFile; +class WXDLLIMPEXP_FWD_BASE wxFile; #endif #if wxUSE_FFILE -class WXDLLIMPEXP_BASE wxFFile; +class WXDLLIMPEXP_FWD_BASE wxFFile; #endif // ---------------------------------------------------------------------------- @@ -84,8 +84,10 @@ enum wxPATH_MKDIR_FULL = 0x0001 // create directories recursively }; +#if wxUSE_LONGLONG // error code of wxFileName::GetSize() extern wxULongLong wxInvalidSize; +#endif // wxUSE_LONGLONG @@ -483,6 +485,7 @@ public: // Filesize +#if wxUSE_LONGLONG // returns the size of the given filename wxULongLong GetSize() const; static wxULongLong GetSize(const wxString &file); @@ -493,6 +496,7 @@ public: static wxString GetHumanReadableSize(const wxULongLong &sz, const wxString &nullsize = wxGetTranslation(_T("Not available")), int precision = 1); +#endif // wxUSE_LONGLONG // deprecated methods, don't use any more