git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42526
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
/////////////////////////////////////////////////////////////////////////////
// wxTarInputStream
/////////////////////////////////////////////////////////////////////////////
// wxTarInputStream
+WX_DECLARE_STRING_HASH_MAP(wxString, wxTarHeaderRecords);
+
class WXDLLIMPEXP_BASE wxTarInputStream : public wxArchiveInputStream
{
public:
class WXDLLIMPEXP_BASE wxTarInputStream : public wxArchiveInputStream
{
public:
bool IsOpened() const { return m_pos != wxInvalidOffset; }
wxStreamError ReadHeaders();
bool IsOpened() const { return m_pos != wxInvalidOffset; }
wxStreamError ReadHeaders();
- bool ReadExtendedHeader(class wxTarHeaderRecords*& recs);
+ bool ReadExtendedHeader(wxTarHeaderRecords*& recs);
wxString GetExtendedHeader(const wxString& key) const;
wxString GetHeaderPath() const;
wxString GetExtendedHeader(const wxString& key) const;
wxString GetHeaderPath() const;
int m_sumType;
int m_tarType;
class wxTarHeaderBlock *m_hdr;
int m_sumType;
int m_tarType;
class wxTarHeaderBlock *m_hdr;
- class wxTarHeaderRecords *m_HeaderRecs;
- class wxTarHeaderRecords *m_GlobalHeaderRecs;
+ wxTarHeaderRecords *m_HeaderRecs;
+ wxTarHeaderRecords *m_GlobalHeaderRecs;
DECLARE_NO_COPY_CLASS(wxTarInputStream)
};
DECLARE_NO_COPY_CLASS(wxTarInputStream)
};
wxDECLARE_SCOPED_PTR(wxTarEntry, wxTarEntryPtr_)
wxDEFINE_SCOPED_PTR (wxTarEntry, wxTarEntryPtr_)
wxDECLARE_SCOPED_PTR(wxTarEntry, wxTarEntryPtr_)
wxDEFINE_SCOPED_PTR (wxTarEntry, wxTarEntryPtr_)
-WX_DECLARE_STRING_HASH_MAP(wxString, wxTarHeaderRecords);
-
wxTarInputStream::wxTarInputStream(wxInputStream& stream,
wxMBConv& conv /*=wxConvLocal*/)
: wxArchiveInputStream(stream, conv)
wxTarInputStream::wxTarInputStream(wxInputStream& stream,
wxMBConv& conv /*=wxConvLocal*/)
: wxArchiveInputStream(stream, conv)