]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/fltfactory.tex
undefine _DEFINE_LIST before redefining it; also rename it to have WX prefix
[wxWidgets.git] / docs / latex / wx / fltfactory.tex
index 662f71da3cddebdef86268376ea9ba51defe2654..5f35203b9843933c38dd19d7d888bb40ce2b99f5 100644 (file)
@@ -15,7 +15,6 @@ handle it and create a stream to decompress it:
     factory = wxFilterClassFactory::Find(filename, wxSTREAM_FILEEXT);
     if (factory)
         stream = factory->NewStream(new wxFFileInputStream(filename));
-
 \end{verbatim}
 
 \helpref{Find()}{wxfilterclassfactoryfind} can also search
@@ -31,6 +30,10 @@ using \helpref{GetFirst() and GetNext()}{wxfilterclassfactorygetfirst}.
 
 <wx/stream.h>
 
+\wxheading{Library}
+
+\helpref{wxBase}{librarieslist}
+
 \wxheading{Data structures}
 
 \begin{verbatim}
@@ -56,7 +59,7 @@ enum wxStreamProtocolType
 
 \membersection{wxFilterClassFactory::CanHandle}\label{wxfilterclassfactorycanhandle}
 
-\constfunc{bool}{CanHandle}{\param{const wxChar* }{protocol}, \param{wxStreamProtocolType }{type = wxSTREAM\_PROTOCOL}}
+\constfunc{bool}{CanHandle}{\param{const wxString\& }{protocol}, \param{wxStreamProtocolType }{type = wxSTREAM\_PROTOCOL}}
 
 Returns true if this factory can handle the given protocol, MIME type, HTTP
 encoding or file extension.
@@ -67,7 +70,7 @@ can be a complete filename rather than just an extension.
 
 \membersection{wxFilterClassFactory::Find}\label{wxfilterclassfactoryfind}
 
-\func{static const wxFilterClassFactory*}{Find}{\param{const wxChar* }{protocol}, \param{wxStreamProtocolType }{type = wxSTREAM\_PROTOCOL}}
+\func{static const wxFilterClassFactory*}{Find}{\param{const wxString\& }{protocol}, \param{wxStreamProtocolType }{type = wxSTREAM\_PROTOCOL}}
 
 A static member that finds a factory that can handle a given protocol, MIME
 type, HTTP encoding or file extension.  Returns a pointer to the class
@@ -184,3 +187,4 @@ Removing from the list isn't a thread safe operation
 so can't be done when other threads are running that will be using the list.
 
 The list does not own the factories, so removing a factory does not delete it.
+