X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e7d0a28b01dc602e3b51dcc7d9046fad2da894f9..4e878f44abee3e03cf981772e9c623f0c16408c9:/interface/wx/zipstrm.h diff --git a/interface/wx/zipstrm.h b/interface/wx/zipstrm.h index 357b113320..f7cdd400a0 100644 --- a/interface/wx/zipstrm.h +++ b/interface/wx/zipstrm.h @@ -98,7 +98,7 @@ enum wxZipFlags See @ref overview_archive_noseek. @library{wxbase} - @category{archive} + @category{archive,streams} @see @ref overview_archive_noseek, wxZipEntry, wxZipInputStream, wxZipOutputStream */ @@ -108,7 +108,7 @@ public: /** Override this to receive notifications when an wxZipEntry object changes. */ - void OnEntryUpdated(wxZipEntry& entry); + virtual void OnEntryUpdated(wxZipEntry& entry) = 0; }; @@ -160,14 +160,16 @@ public: - wxZipEntry::IsText @library{wxbase} - @category{archive} + @category{archive,streams} @see @ref overview_archive, wxZipInputStream, wxZipOutputStream, wxZipNotifier */ class wxZipEntry : public wxArchiveEntry { public: - wxZipEntry(const wxString& name = wxEmptyString); + wxZipEntry(const wxString& name = wxEmptyString, + const wxDateTime& dt = Now(), + wxFileOffset size = wxInvalidOffset); /** Copy constructor. @@ -275,7 +277,7 @@ public: /** The compressed size of this entry in bytes. */ - off_t GetCompressedSize() const; + wxFileOffset GetCompressedSize() const; /** CRC32 for this entry's data. @@ -361,7 +363,7 @@ public: wxZipInputStream::SeekI() always returns ::wxInvalidOffset. @library{wxbase} - @category{streams} + @category{archive,streams} @see @ref overview_archive, wxZipEntry, wxZipOutputStream */ @@ -443,7 +445,7 @@ public: See the base class for details. @library{wxbase} - @category{archive} + @category{archive,streams} @see @ref overview_archive, @ref overview_archive_generic, @@ -468,7 +470,7 @@ public: entry and begins the next. @library{wxbase} - @category{streams} + @category{archive,streams} @see @ref overview_archive, wxZipEntry, wxZipInputStream */ @@ -499,7 +501,7 @@ public: The destructor calls Close() to finish writing the zip if it has not been called already. */ - ~wxZipOutputStream(); + virtual ~wxZipOutputStream(); /** Finishes writing the zip, returning @true if successful. @@ -568,7 +570,7 @@ public: */ bool PutNextEntry(const wxString& name, const wxDateTime& dt = wxDateTime::Now(), - off_t size = wxInvalidOffset); + wxFileOffset size = wxInvalidOffset); //@} /**