X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fc2171bd4c660b8554dae2a1cbf34ff09f3032a6..e2c49e5cd2b7092e946fd97d76f3cca07916c91c:/docs/latex/wx/dynlib.tex diff --git a/docs/latex/wx/dynlib.tex b/docs/latex/wx/dynlib.tex index 61accb8f3d..59ef7f8a82 100644 --- a/docs/latex/wx/dynlib.tex +++ b/docs/latex/wx/dynlib.tex @@ -23,6 +23,7 @@ done in the objects destructor automatically. %\helpref{wxDllLoader}{wxdllloader} + \membersection{wxDynamicLibrary::wxDynamicLibrary}\label{wxdynamiclibrarywxdynamiclibrary} \func{}{wxDynamicLibrary}{\void} @@ -31,6 +32,7 @@ done in the objects destructor automatically. Constructor. Second form calls \helpref{Load}{wxdynamiclibraryload}. + \membersection{wxDynamicLibrary::CanonicalizeName}\label{wxdynamiclibrarycanonicalizename} \func{wxString}{CanonicalizeName}{\param{const wxString\& }{name}, \param{wxDynamicLibraryCategory}{ cat = wxDL\_LIBRARY}} @@ -51,6 +53,7 @@ The possible values for \arg{cat} are: \helpref{CanonicalizePluginName}{wxdynamiclibrarycanonicalizepluginname} + \membersection{wxDynamicLibrary::CanonicalizePluginName}\label{wxdynamiclibrarycanonicalizepluginname} \func{wxString}{CanonicalizePluginName}{\param{const wxString\& }{name}, \param{wxPluginCategory}{ cat = wxDL\_PLUGIN\_GUI}} @@ -68,6 +71,7 @@ The possible values for \arg{cat} are: \twocolitem{wxDL\_PLUGIN\_BASE}{plugin which only uses wxBase} \end{twocollist} + \membersection{wxDynamicLibrary::Detach}\label{wxdynamiclibrarydetach} \func{wxDllType}{Detach}{\void} @@ -76,9 +80,10 @@ Detaches this object from its library handle, i.e. the object will not unload the library any longer in its destructor but it is now the callers responsability to do this using \helpref{Unload}{wxdynamiclibraryunload}. + \membersection{wxDynamicLibrary::GetSymbol}\label{wxdynamiclibrarygetsymbol} -\constfunc{void*}{GetSymbol}{\param{const wxString\& }{name}} +\constfunc{void *}{GetSymbol}{\param{const wxString\& }{name}} Returns pointer to symbol {\it name} in the library or NULL if the library contains no such symbol. @@ -87,12 +92,25 @@ contains no such symbol. \helpref{wxDYNLIB\_FUNCTION}{wxdynlibfunction} + +\membersection{wxDynamicLibrary::HasSymbol}\label{wxdynamiclibraryhassymbol} + +\constfunc{bool}{HasSymbol}{\param{const wxString\& }{name}} + +Returns \true if the symbol with the given \arg{name} is present in the dynamic +library, \false otherwise. Unlike \helpref{GetSymbol}{wxdynamiclibrarygetsymbol}, +this function doesn't log an error message if the symbol is not found. + +\newsince{2.5.4} + + \membersection{wxDynamicLibrary::IsLoaded}\label{wxdynamiclibraryisloaded} \constfunc{bool}{IsLoaded}{\void} Returns \true if the library was successfully loaded, \false otherwise. + \membersection{wxDynamicLibrary::Load}\label{wxdynamiclibraryload} \func{bool}{Load}{\param{const wxString\& }{name}, \param{int }{flags = wxDL\_DEFAULT}} @@ -110,6 +128,7 @@ the library name (this is done by default).} Returns \true if the library was successfully loaded, \false otherwise. + \membersection{wxDynamicLibrary::Unload}\label{wxdynamiclibraryunload} \func{void}{Unload}{\void}