X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/45c64b28bad0a8a76f7cbb1413ad6d64fc71eb66..1b895132c960415872de82c1d47589b6b55cecee:/include/wx/tarstrm.h?ds=sidebyside diff --git a/include/wx/tarstrm.h b/include/wx/tarstrm.h index 0ade9f9a28..5043c5f29e 100644 --- a/include/wx/tarstrm.h +++ b/include/wx/tarstrm.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: tarstrm.h +// Name: wx/tarstrm.h // Purpose: Streams for Tar files // Author: Mike Wetherell // RCS-ID: $Id$ @@ -15,13 +15,15 @@ #if wxUSE_TARSTREAM #include "wx/archive.h" +#include "wx/hashmap.h" ///////////////////////////////////////////////////////////////////////////// // Constants // TypeFlag values -enum { +enum wxTarType +{ wxTAR_REGTYPE = '0', // regular file wxTAR_LNKTYPE = '1', // hard link wxTAR_SYMTYPE = '2', // symbolic link @@ -132,7 +134,7 @@ private: wxDateTime m_ModifyTime; wxDateTime m_AccessTime; wxDateTime m_CreateTime; - wxChar m_TypeFlag; + int m_TypeFlag; wxString m_LinkName; wxString m_UserName; wxString m_GroupName; @@ -279,6 +281,7 @@ private: char *m_extendedHdr; size_t m_extendedSize; wxString m_badfit; + bool m_endrecWritten; DECLARE_NO_COPY_CLASS(wxTarOutputStream) };