19 #ifndef _CPPUHELPER_SHLIB_HXX_
20 #define _CPPUHELPER_SHLIB_HXX_
23 #include <com/sun/star/lang/XMultiServiceFactory.hpp>
24 #include <com/sun/star/registry/XRegistryKey.hpp>
25 #include <com/sun/star/loader/CannotActivateFactoryException.hpp>
26 #include <com/sun/star/registry/CannotRegisterImplementationException.hpp>
55 CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >
61 SAL_THROW( (::com::sun::star::loader::CannotActivateFactoryException) );
80 CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >
87 SAL_THROW( (::com::sun::star::loader::CannotActivateFactoryException) );
100 CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >
107 SAL_THROW( (::com::sun::star::loader::CannotActivateFactoryException) );
127 SAL_THROW( (::com::sun::star::registry::CannotRegisterImplementationException) );
This String class provides base functionality for C++ like Unicode character array handling...
Definition: ustring.hxx:87
#define SAL_THROW(exc)
Definition of function throw clause macros.
Definition: types.h:356
#define CPPUHELPER_DLLPUBLIC
Definition: cppuhelperdllapi.h:28
CPPUHELPER_DLLPUBLIC::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > invokeStaticComponentFactory(oslGenericFunction pGetter,::rtl::OUString const &rImplName,::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > const &xMgr,::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey > const &xKey,::rtl::OUString const &rPrefix)
Gets the factory out of an already loaded (for instance statically linked) component.
CPPUHELPER_DLLPUBLIC::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > loadSharedLibComponentFactory(::rtl::OUString const &rLibName,::rtl::OUString const &rPath,::rtl::OUString const &rImplName,::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > const &xMgr,::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey > const &xKey)
Loads a shared library component and gets the factory out of it.
Template reference class for interface type derived from BaseReference.
Definition: unotype.hxx:32
void(* oslGenericFunction)(void)
Generic Function pointer type that will be used as symbol address.
Definition: module.h:62
CPPUHELPER_DLLPUBLIC void writeSharedLibComponentInfo(::rtl::OUString const &rLibName,::rtl::OUString const &rPath,::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > const &xMgr,::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey > const &xKey)
Invokes component_writeInfo() function of specified component library.