28 #ifndef _CPPUHELPER_FACTORY_HXX_
29 #define _CPPUHELPER_FACTORY_HXX_
35 #include <com/sun/star/uno/XComponentContext.hpp>
36 #include <com/sun/star/lang/XSingleComponentFactory.hpp>
37 #include <com/sun/star/lang/XSingleServiceFactory.hpp>
38 #include <com/sun/star/lang/XMultiServiceFactory.hpp>
39 #include <com/sun/star/registry/XRegistryKey.hpp>
44 #define COMPONENT_GETENV "component_getImplementationEnvironment"
45 #define COMPONENT_GETENVEXT "component_getImplementationEnvironmentExt"
46 #define COMPONENT_GETDESCRIPTION "component_getDescription"
47 #define COMPONENT_WRITEINFO "component_writeInfo"
48 #define COMPONENT_GETFACTORY "component_getFactory"
104 void * pServiceManager,
void * pRegistryKey );
122 const sal_Char * pImplName,
void * pServiceManager,
void * pRegistryKey );
135 typedef ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >(
138 SAL_THROW( (::com::sun::star::uno::Exception) );
147 CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleComponentFactory >
164 CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleComponentFactory > SAL_CALL
167 ::rtl::OUString const & rImplementationName,
168 ::com::sun::star::uno::Sequence< ::rtl::OUString > const & rServiceNames,
179 const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rServiceManager );
194 CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > SAL_CALL
196 const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rServiceManager,
197 const ::rtl::OUString & rImplementationName,
199 const ::com::sun::star::uno::Sequence< ::rtl::OUString > & rServiceNames,
217 CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > SAL_CALL
219 const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rServiceManager,
220 const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > & rFactory )
236 CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > SAL_CALL
238 const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rServiceManager,
239 const ::rtl::OUString & rComponentName,
241 const ::com::sun::star::uno::Sequence< ::rtl::OUString > & rServiceNames,
254 CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > SAL_CALL
256 const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rServiceManager,
257 const ::rtl::OUString & rImplementationName,
258 const ::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey > & rImplementationKey )
273 CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > SAL_CALL
275 const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rServiceManager,
276 const ::rtl::OUString & rComponentName,
277 const ::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey > & rImplementationKey )