X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e3a10e0c620546f68dc0f348a0171b3e4ecd9407..51623cc53f350935337e57930eaaf1afe9a48c3b:/include/wx/tarstrm.h diff --git a/include/wx/tarstrm.h b/include/wx/tarstrm.h index b92119904f..44087ccabd 100644 --- a/include/wx/tarstrm.h +++ b/include/wx/tarstrm.h @@ -22,7 +22,8 @@ // Constants // TypeFlag values -enum { +enum wxTarType +{ wxTAR_REGTYPE = '0', // regular file wxTAR_LNKTYPE = '1', // hard link wxTAR_SYMTYPE = '2', // symbolic link @@ -199,7 +200,7 @@ private: wxTarHeaderRecords *m_HeaderRecs; wxTarHeaderRecords *m_GlobalHeaderRecs; - DECLARE_NO_COPY_CLASS(wxTarInputStream) + wxDECLARE_NO_COPY_CLASS(wxTarInputStream); }; @@ -280,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); };