X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/45c64b28bad0a8a76f7cbb1413ad6d64fc71eb66..8e77fd8bca165aab9709649d79a7cbc6a172d4e1:/include/wx/tarstrm.h diff --git a/include/wx/tarstrm.h b/include/wx/tarstrm.h index 0ade9f9a28..44087ccabd 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; @@ -198,7 +200,7 @@ private: wxTarHeaderRecords *m_HeaderRecs; wxTarHeaderRecords *m_GlobalHeaderRecs; - DECLARE_NO_COPY_CLASS(wxTarInputStream) + wxDECLARE_NO_COPY_CLASS(wxTarInputStream); }; @@ -279,8 +281,9 @@ private: char *m_extendedHdr; size_t m_extendedSize; wxString m_badfit; + bool m_endrecWritten; - DECLARE_NO_COPY_CLASS(wxTarOutputStream) + wxDECLARE_NO_COPY_CLASS(wxTarOutputStream); };