1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Streams for archive formats
4 // Author: Mike Wetherell
6 // Copyright: (c) Mike Wetherell
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
11 #pragma implementation "archive.h"
14 // For compilers that support precompilation, includes "wx.h".
15 #include "wx/wxprec.h"
25 #if wxUSE_STREAMS && wxUSE_ARCHIVE_STREAMS
27 #include "wx/archive.h"
29 IMPLEMENT_ABSTRACT_CLASS(wxArchiveEntry
, wxObject
)
30 IMPLEMENT_ABSTRACT_CLASS(wxArchiveClassFactory
, wxObject
)
34 extern int _wx_link_dummy_func_zipstrm();
35 static int _wx_link_dummy_var_zipstrm
=
36 _wx_link_dummy_func_zipstrm ();
40 /////////////////////////////////////////////////////////////////////////////
41 // wxArchiveInputStream
43 wxArchiveInputStream::wxArchiveInputStream(wxInputStream
& stream
,
45 : wxFilterInputStream(stream
),
51 /////////////////////////////////////////////////////////////////////////////
52 // wxArchiveOutputStream
54 wxArchiveOutputStream::wxArchiveOutputStream(wxOutputStream
& stream
,
56 : wxFilterOutputStream(stream
),
62 /////////////////////////////////////////////////////////////////////////////
65 void wxArchiveEntry::SetNotifier(wxArchiveNotifier
& notifier
)
68 m_notifier
= ¬ifier
;
69 m_notifier
->OnEntryUpdated(*this);
72 wxArchiveEntry
& wxArchiveEntry::operator=(const wxArchiveEntry
& WXUNUSED(e
))
78 #endif // wxUSE_STREAMS && wxUSE_ARCHIVE_STREAMS