]>
git.saurik.com Git - wxWidgets.git/blob - src/common/archive.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/common/archive.cpp
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"
17 #if wxUSE_STREAMS && wxUSE_ARCHIVE_STREAMS
22 #include "wx/archive.h"
25 IMPLEMENT_ABSTRACT_CLASS(wxArchiveEntry
, wxObject
)
26 IMPLEMENT_ABSTRACT_CLASS(wxArchiveClassFactory
, wxObject
)
29 wxFORCE_LINK_MODULE(zipstrm
)
33 /////////////////////////////////////////////////////////////////////////////
34 // wxArchiveInputStream
36 wxArchiveInputStream::wxArchiveInputStream(wxInputStream
& stream
,
38 : wxFilterInputStream(stream
),
44 /////////////////////////////////////////////////////////////////////////////
45 // wxArchiveOutputStream
47 wxArchiveOutputStream::wxArchiveOutputStream(wxOutputStream
& stream
,
49 : wxFilterOutputStream(stream
),
55 /////////////////////////////////////////////////////////////////////////////
58 void wxArchiveEntry::SetNotifier(wxArchiveNotifier
& notifier
)
61 m_notifier
= ¬ifier
;
62 m_notifier
->OnEntryUpdated(*this);
65 wxArchiveEntry
& wxArchiveEntry::operator=(const wxArchiveEntry
& WXUNUSED(e
))
71 #endif // wxUSE_STREAMS && wxUSE_ARCHIVE_STREAMS