/////////////////////////////////////////////////////////////////////////////
-// Name: tarstrm.h
+// Name: wx/tarstrm.h
// Purpose: Streams for Tar files
// Author: Mike Wetherell
// RCS-ID: $Id$
// Constants
// TypeFlag values
-enum {
+enum wxTarType
+{
wxTAR_REGTYPE = '0', // regular file
wxTAR_LNKTYPE = '1', // hard link
wxTAR_SYMTYPE = '2', // symbolic link
wxDateTime m_ModifyTime;
wxDateTime m_AccessTime;
wxDateTime m_CreateTime;
- wxChar m_TypeFlag;
+ int m_TypeFlag;
wxString m_LinkName;
wxString m_UserName;
wxString m_GroupName;
wxTarHeaderRecords *m_HeaderRecs;
wxTarHeaderRecords *m_GlobalHeaderRecs;
- DECLARE_NO_COPY_CLASS(wxTarInputStream)
+ wxDECLARE_NO_COPY_CLASS(wxTarInputStream);
};
char *m_extendedHdr;
size_t m_extendedSize;
wxString m_badfit;
+ bool m_endrecWritten;
- DECLARE_NO_COPY_CLASS(wxTarOutputStream)
+ wxDECLARE_NO_COPY_CLASS(wxTarOutputStream);
};