]>
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_STREAMS && wxUSE_ARCHIVE_STREAMS
27 #include "wx/archive.h"
28 #include "wx/html/forcelnk.h"
30 IMPLEMENT_ABSTRACT_CLASS(wxArchiveEntry
, wxObject
)
31 IMPLEMENT_ABSTRACT_CLASS(wxArchiveClassFactory
, wxObject
)
38 /////////////////////////////////////////////////////////////////////////////
39 // wxArchiveInputStream
41 wxArchiveInputStream::wxArchiveInputStream(wxInputStream
& stream
,
43 : wxFilterInputStream(stream
),
49 /////////////////////////////////////////////////////////////////////////////
50 // wxArchiveOutputStream
52 wxArchiveOutputStream::wxArchiveOutputStream(wxOutputStream
& stream
,
54 : wxFilterOutputStream(stream
),
60 /////////////////////////////////////////////////////////////////////////////
63 void wxArchiveEntry::SetNotifier(wxArchiveNotifier
& notifier
)
66 m_notifier
= ¬ifier
;
67 m_notifier
->OnEntryUpdated(*this);
70 wxArchiveEntry
& wxArchiveEntry::operator=(const wxArchiveEntry
& WXUNUSED(e
))
76 #endif // wxUSE_STREAMS && wxUSE_ARCHIVE_STREAMS