19 #ifndef _CPPUHELPER_FACTORY_HXX_
20 #define _CPPUHELPER_FACTORY_HXX_
26 #include <com/sun/star/uno/XComponentContext.hpp>
27 #include <com/sun/star/lang/XSingleComponentFactory.hpp>
28 #include <com/sun/star/lang/XSingleServiceFactory.hpp>
29 #include <com/sun/star/lang/XMultiServiceFactory.hpp>
30 #include <com/sun/star/registry/XRegistryKey.hpp>
35 #define COMPONENT_GETENV "component_getImplementationEnvironment"
36 #define COMPONENT_GETENVEXT "component_getImplementationEnvironmentExt"
37 #define COMPONENT_GETDESCRIPTION "component_getDescription"
38 #define COMPONENT_WRITEINFO "component_writeInfo"
39 #define COMPONENT_GETFACTORY "component_getFactory"
95 void * pServiceManager,
void * pRegistryKey );
113 const sal_Char * pImplName,
void * pServiceManager,
void * pRegistryKey );
126 typedef ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >(
129 SAL_THROW( (::com::sun::star::uno::Exception) );
139 CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleComponentFactory >
157 CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleComponentFactory > SAL_CALL
160 ::rtl::OUString const & rImplementationName,
161 ::com::sun::star::uno::Sequence< ::rtl::OUString > const & rServiceNames,
172 const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rServiceManager );
188 CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > SAL_CALL
190 const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rServiceManager,
191 const ::rtl::OUString & rImplementationName,
193 const ::com::sun::star::uno::Sequence< ::rtl::OUString > & rServiceNames,
211 CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > SAL_CALL
213 const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rServiceManager,
214 const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > & rFactory )
231 CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > SAL_CALL
233 const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rServiceManager,
234 const ::rtl::OUString & rComponentName,
236 const ::com::sun::star::uno::Sequence< ::rtl::OUString > & rServiceNames,
249 CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > SAL_CALL
251 const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rServiceManager,
252 const ::rtl::OUString & rImplementationName,
253 const ::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey > & rImplementationKey )
268 CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > SAL_CALL
270 const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rServiceManager,
271 const ::rtl::OUString & rComponentName,
272 const ::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey > & rImplementationKey )