1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/common/filtfind.cpp
3 // Purpose: Streams for filter formats
4 // Author: Mike Wetherell
6 // Copyright: (c) Mike Wetherell
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 // For compilers that support precompilation, includes "wx.h".
11 #include "wx/wxprec.h"
19 #include "wx/stream.h"
21 // These functions are in a separate file so that statically linked apps
22 // that do not call them to search for filter handlers will only link in
23 // the filter classes they use.
25 const wxFilterClassFactory
*
26 wxFilterClassFactory::Find(const wxString
& protocol
, wxStreamProtocolType type
)
28 for (const wxFilterClassFactory
*f
= GetFirst(); f
; f
= f
->GetNext())
29 if (f
->CanHandle(protocol
, type
))
36 const wxFilterClassFactory
*wxFilterClassFactory::GetFirst()
43 #endif // wxUSE_STREAMS