1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Streams for archive formats
4 // Author: Mike Wetherell
6 // Copyright: (c) Mike Wetherell
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 // For compilers that support precompilation, includes "wx.h".
11 #include "wx/wxprec.h"
21 #if wxUSE_STREAMS && wxUSE_ARCHIVE_STREAMS
23 #include "wx/archive.h"
26 IMPLEMENT_ABSTRACT_CLASS(wxArchiveEntry, wxObject)
27 IMPLEMENT_ABSTRACT_CLASS(wxArchiveClassFactory, wxObject)
30 wxFORCE_LINK_MODULE(zipstrm)
34 /////////////////////////////////////////////////////////////////////////////
35 // wxArchiveInputStream
37 wxArchiveInputStream::wxArchiveInputStream(wxInputStream& stream,
39 : wxFilterInputStream(stream),
45 /////////////////////////////////////////////////////////////////////////////
46 // wxArchiveOutputStream
48 wxArchiveOutputStream::wxArchiveOutputStream(wxOutputStream& stream,
50 : wxFilterOutputStream(stream),
56 /////////////////////////////////////////////////////////////////////////////
59 void wxArchiveEntry::SetNotifier(wxArchiveNotifier& notifier)
62 m_notifier = ¬ifier;
63 m_notifier->OnEntryUpdated(*this);
66 wxArchiveEntry& wxArchiveEntry::operator=(const wxArchiveEntry& WXUNUSED(e))
72 #endif // wxUSE_STREAMS && wxUSE_ARCHIVE_STREAMS