1/////////////////////////////////////////////////////////////////////////////
2// Name:        src/common/filtall.cpp
3// Purpose:     Link all filter streams
4// Author:      Mike Wetherell
5// RCS-ID:      $Id: filtall.cpp 42412 2006-10-25 20:41:12Z MW $
6// Copyright:   (c) 2006 Mike Wetherell
7// Licence:     wxWindows licence
8/////////////////////////////////////////////////////////////////////////////
9
10// For compilers that support precompilation, includes "wx.h".
11#include "wx/wxprec.h"
12
13#ifdef __BORLANDC__
14    #pragma hdrstop
15#endif
16
17#if wxUSE_STREAMS
18
19#if wxUSE_ZLIB
20#include "wx/zstream.h"
21#endif
22
23// Reference filter classes to ensure they are linked into a statically
24// linked program that uses Find or GetFirst to look for an filter handler.
25// It is in its own file so that the user can override this behaviour by
26// providing their own implementation.
27
28void wxUseFilterClasses()
29{
30#if wxUSE_ZLIB
31    wxZlibClassFactory();
32    wxGzipClassFactory();
33#endif
34}
35
36#endif // wxUSE_STREAMS
37