add prefixes for component_getFactory

This commit is contained in:
Matúš Kukan
2011-07-28 14:37:59 +02:00
parent 58707d613f
commit 7e5b4be4cf
14 changed files with 46 additions and 24 deletions

View File

@@ -26,7 +26,7 @@
* *
**********************************************************************--> **********************************************************************-->
<component loader="com.sun.star.loader.SharedLibrary" <component loader="com.sun.star.loader.SharedLibrary" prefix="animcore"
xmlns="http://openoffice.org/2010/uno-components"> xmlns="http://openoffice.org/2010/uno-components">
<implementation name="animcore::Animate"> <implementation name="animcore::Animate">
<service name="com.sun.star.animations.Animate"/> <service name="com.sun.star.animations.Animate"/>

View File

@@ -74,13 +74,7 @@ static struct ImplementationEntry g_entries[] =
extern "C" extern "C"
{ {
sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) SAL_DLLPUBLIC_EXPORT void * SAL_CALL animcore_component_getFactory(
{
return g_moduleCount.canUnload( &g_moduleCount , pTime );
}
//==================================================================================================
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ) const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
{ {
return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries ); return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries );

View File

@@ -2236,11 +2236,7 @@ extern "C"
{ {
#endif #endif
// ------------------------ SAL_DLLPUBLIC_EXPORT void* SAL_CALL sdfilt_component_getFactory( const sal_Char* pImplName, void* pServiceManager, void* pRegistryKey )
// - component_getFactory -
// ------------------------
SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplName, void* pServiceManager, void* pRegistryKey )
{ {
return cppu::component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries ); return cppu::component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries );
} }

View File

@@ -42,7 +42,7 @@ using namespace ::com::sun::star::lang;
extern "C" { extern "C" {
SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( SAL_DLLPUBLIC_EXPORT void* SAL_CALL sdd_component_getFactory(
const sal_Char* pImplementationName, const sal_Char* pImplementationName,
void* pServiceManager, void* pServiceManager,
void* ) void* )

View File

@@ -297,7 +297,7 @@ static ::boost::shared_ptr<FactoryMap> spFactoryMap;
extern "C" extern "C"
{ {
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( SAL_DLLPUBLIC_EXPORT void * SAL_CALL sd_component_getFactory(
const sal_Char * pImplName, const sal_Char * pImplName,
void * pServiceManager, void * pServiceManager,
void * ) void * )

View File

@@ -26,7 +26,7 @@
* *
**********************************************************************--> **********************************************************************-->
<component loader="com.sun.star.loader.SharedLibrary" <component loader="com.sun.star.loader.SharedLibrary" prefix="sd"
xmlns="http://openoffice.org/2010/uno-components"> xmlns="http://openoffice.org/2010/uno-components">
<implementation name="com.sun.star.comp.Draw.DrawingDocument"> <implementation name="com.sun.star.comp.Draw.DrawingDocument">
<service name="com.sun.star.drawing.DrawingDocument"/> <service name="com.sun.star.drawing.DrawingDocument"/>

View File

@@ -26,7 +26,7 @@
* *
**********************************************************************--> **********************************************************************-->
<component loader="com.sun.star.loader.SharedLibrary" <component loader="com.sun.star.loader.SharedLibrary" prefix="sdd"
xmlns="http://openoffice.org/2010/uno-components"> xmlns="http://openoffice.org/2010/uno-components">
<implementation name="com.sun.star.comp.draw.FormatDetector"> <implementation name="com.sun.star.comp.draw.FormatDetector">
<service name="com.sun.star.frame.ExtendedTypeDetection"/> <service name="com.sun.star.frame.ExtendedTypeDetection"/>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<component loader="com.sun.star.loader.SharedLibrary" <component loader="com.sun.star.loader.SharedLibrary" prefix="sdfilt"
xmlns="http://openoffice.org/2010/uno-components"> xmlns="http://openoffice.org/2010/uno-components">
<implementation name="com.sun.star.comp.Impress.oox.PowerPointExport"> <implementation name="com.sun.star.comp.Impress.oox.PowerPointExport">
<service name="com.sun.star.comp.ooxpptx"/> <service name="com.sun.star.comp.ooxpptx"/>

View File

@@ -1129,4 +1129,12 @@ namespace sdecl = comphelper::service_decl;
"com.sun.star.presentation.TransitionFactory" ); "com.sun.star.presentation.TransitionFactory" );
// The C shared lib entry points // The C shared lib entry points
COMPHELPER_SERVICEDECL_EXPORTS1(OGLTransitionFactoryDecl) extern "C"
{
SAL_DLLPUBLIC_EXPORT void* SAL_CALL ogltrans_component_getFactory( sal_Char const* pImplName,
::com::sun::star::lang::XMultiServiceFactory* pServiceManager,
::com::sun::star::registry::XRegistryKey* pRegistryKey )
{
return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey, OGLTransitionFactoryDecl );
}
}

View File

@@ -26,7 +26,7 @@
* *
**********************************************************************--> **********************************************************************-->
<component loader="com.sun.star.loader.SharedLibrary" <component loader="com.sun.star.loader.SharedLibrary" prefix="ogltrans"
xmlns="http://openoffice.org/2010/uno-components"> xmlns="http://openoffice.org/2010/uno-components">
<implementation name="com.sun.star.comp.presentation.OGLTransitionFactory"> <implementation name="com.sun.star.comp.presentation.OGLTransitionFactory">
<service name="com.sun.star.presentation.TransitionFactory"/> <service name="com.sun.star.presentation.TransitionFactory"/>

View File

@@ -1477,6 +1477,14 @@ namespace sdecl = comphelper::service_decl;
"com.sun.star.presentation.TransitionFactory" ); "com.sun.star.presentation.TransitionFactory" );
// The C shared lib entry points // The C shared lib entry points
COMPHELPER_SERVICEDECL_EXPORTS1(OGLTransitionFactoryDecl) extern "C"
{
SAL_DLLPUBLIC_EXPORT void* SAL_CALL ogltrans_component_getFactory( sal_Char const* pImplName,
::com::sun::star::lang::XMultiServiceFactory* pServiceManager,
::com::sun::star::registry::XRegistryKey* pRegistryKey )
{
return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey, OGLTransitionFactoryDecl );
}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -1450,6 +1450,14 @@ namespace sdecl = comphelper::service_decl;
"com.sun.star.presentation.TransitionFactory" ); "com.sun.star.presentation.TransitionFactory" );
// The C shared lib entry points // The C shared lib entry points
COMPHELPER_SERVICEDECL_EXPORTS1(OGLTransitionFactoryDecl) extern "C"
{
SAL_DLLPUBLIC_EXPORT void* SAL_CALL ogltrans_component_getFactory( sal_Char const* pImplName,
::com::sun::star::lang::XMultiServiceFactory* pServiceManager,
::com::sun::star::registry::XRegistryKey* pRegistryKey )
{
return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey, OGLTransitionFactoryDecl );
}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -2460,6 +2460,14 @@ namespace sdecl = comphelper::service_decl;
"com.sun.star.presentation.SlideShow" ); "com.sun.star.presentation.SlideShow" );
// The C shared lib entry points // The C shared lib entry points
COMPHELPER_SERVICEDECL_EXPORTS1(slideShowDecl) extern "C"
{
SAL_DLLPUBLIC_EXPORT void* SAL_CALL slideshow_component_getFactory( sal_Char const* pImplName,
::com::sun::star::lang::XMultiServiceFactory* pServiceManager,
::com::sun::star::registry::XRegistryKey* pRegistryKey )
{
return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey, slideShowDecl );
}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -26,7 +26,7 @@
* *
**********************************************************************--> **********************************************************************-->
<component loader="com.sun.star.loader.SharedLibrary" <component loader="com.sun.star.loader.SharedLibrary" prefix="slideshow"
xmlns="http://openoffice.org/2010/uno-components"> xmlns="http://openoffice.org/2010/uno-components">
<implementation name="com.sun.star.comp.presentation.SlideShow"> <implementation name="com.sun.star.comp.presentation.SlideShow">
<service name="com.sun.star.presentation.SlideShow"/> <service name="com.sun.star.presentation.SlideShow"/>