Base class factory on the wxFilter base class and implement the new Find feature.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
41
src/common/arcall.cpp
Normal file
41
src/common/arcall.cpp
Normal file
@@ -0,0 +1,41 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: src/common/arcall.cpp
|
||||
// Purpose: wxArchive link all archive streams
|
||||
// Author: Mike Wetherell
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) 2006 Mike Wetherell
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#ifdef __BORLANDC__
|
||||
#pragma hdrstop
|
||||
#endif
|
||||
|
||||
#if wxUSE_ARCHIVE_STREAMS
|
||||
|
||||
#if wxUSE_ZIPSTREAM
|
||||
#include "wx/zipstrm.h"
|
||||
#endif
|
||||
#if wxUSE_TARSTREAM
|
||||
#include "wx/tarstrm.h"
|
||||
#endif
|
||||
|
||||
// Reference archive classes to ensure they are linked into a statically
|
||||
// linked program that uses Find or GetFirst to look for an archive handler.
|
||||
// It is in its own file so that the user can override this behaviour by
|
||||
// providing their own implementation.
|
||||
|
||||
void wxUseArchiveClasses()
|
||||
{
|
||||
#if wxUSE_ZIPSTREAM
|
||||
wxZipClassFactory();
|
||||
#endif
|
||||
#if wxUSE_TARSTREAM
|
||||
wxTarClassFactory();
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif // wxUSE_ARCHIVE_STREAMS
|
||||
Reference in New Issue
Block a user