]>
git.saurik.com Git - wxWidgets.git/blob - src/common/archive.cpp
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_ZLIB && wxUSE_STREAMS && wxUSE_ZIPSTREAM
27 #include "wx/archive.h"
28 #include "wx/html/forcelnk.h"
30 IMPLEMENT_ABSTRACT_CLASS(wxArchiveEntry
, wxObject
)
31 IMPLEMENT_ABSTRACT_CLASS(wxArchiveClassFactory
, wxObject
)
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
))