mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-08-09 14:06:04 -05:00
long become wxWidgets 2.9.2, which in turn is expected to be the last 2.9 release before the 3.0 stable release. Since the full wxWidgets distribution is rather large, I have imported only the parts that we use, on a subdirectory basis: art include/wx/*.* include/wx/aui include/wx/cocoa include/wx/generic include/wx/gtk include/wx/meta include/wx/msw include/wx/osx include/wx/persist include/wx/private include/wx/protocol include/wx/unix src/aui src/common src/generic src/gtk src/msw src/osx src/unix git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7380 8ced0084-cf51-0410-be5f-012b33b47a6e
42 lines
1.1 KiB
C++
42 lines
1.1 KiB
C++
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: src/common/arcall.cpp
|
|
// Purpose: wxArchive link all archive streams
|
|
// Author: Mike Wetherell
|
|
// RCS-ID: $Id: arcall.cpp 42508 2006-10-27 09:53:38Z MW $
|
|
// 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
|