Version: 3.0.2
wxArchiveNotifier Class Referenceabstract

#include <wx/archive.h>

Detailed Description

If you need to know when a wxArchiveInputStream updates a wxArchiveEntry object, you can create a notifier by deriving from this abstract base class, overriding wxArchiveNotifier::OnEntryUpdated.

An instance of your notifier class can then be assigned to the wxArchiveEntry object using wxArchiveEntry::SetNotifier. Your OnEntryUpdated() method will then be invoked whenever the input stream updates the entry.

Setting a notifier is not usually necessary. It is used to handle certain cases when modifying an archive in a pipeline (i.e. between non-seekable streams). See Archives on Non-Seekable Streams.

Library:  wxBase
Category:  Archive support, Streams
See Also
Archives on Non-Seekable Streams, wxArchiveEntry, wxArchiveInputStream, wxArchiveOutputStream

Public Member Functions

virtual void OnEntryUpdated (wxArchiveEntry &entry)=0
 This method must be overridden in your derived class.
 

Member Function Documentation

virtual void wxArchiveNotifier::OnEntryUpdated ( wxArchiveEntry entry)
pure virtual

This method must be overridden in your derived class.