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"
25 IMPLEMENT_ABSTRACT_CLASS(wxArchiveEntry
, wxObject
)
26 IMPLEMENT_ABSTRACT_CLASS(wxArchiveClassFactory
, wxObject
)
30 extern int _wx_link_dummy_func_zipstrm();
31 static int _wx_link_dummy_var_zipstrm
=
32 _wx_link_dummy_func_zipstrm ();
36 /////////////////////////////////////////////////////////////////////////////
37 // wxArchiveInputStream
39 wxArchiveInputStream::wxArchiveInputStream(wxInputStream
& stream
,
41 : wxFilterInputStream(stream
),
47 /////////////////////////////////////////////////////////////////////////////
48 // wxArchiveOutputStream
50 wxArchiveOutputStream::wxArchiveOutputStream(wxOutputStream
& stream
,
52 : wxFilterOutputStream(stream
),
58 /////////////////////////////////////////////////////////////////////////////
61 void wxArchiveEntry::SetNotifier(wxArchiveNotifier
& notifier
)
64 m_notifier
= ¬ifier
;
65 m_notifier
->OnEntryUpdated(*this);
68 wxArchiveEntry
& wxArchiveEntry::operator=(const wxArchiveEntry
& WXUNUSED(e
))
74 #endif // wxUSE_STREAMS && wxUSE_ARCHIVE_STREAMS