X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/716b1f7091622187312a86257eac0570d0ccd8a2..10ff9c616e00e4074dfdc2ac9e354605cc129c22:/docs/latex/wx/fltfactory.tex?ds=inline diff --git a/docs/latex/wx/fltfactory.tex b/docs/latex/wx/fltfactory.tex index 662f71da3c..5f35203b98 100644 --- a/docs/latex/wx/fltfactory.tex +++ b/docs/latex/wx/fltfactory.tex @@ -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}. +\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. +