Use prefix

Change-Id: I80de62d3afd461bc51a33d427794c86c4a6bc32c
This commit is contained in:
Tor Lillqvist
2012-10-02 11:53:55 +03:00
parent 1a28e70532
commit f4901ad51b
6 changed files with 10 additions and 7 deletions

View File

@@ -1,6 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<component xmlns="http://openoffice.org/2010/uno-components" <component xmlns="http://openoffice.org/2010/uno-components"
loader="com.sun.star.loader.SharedLibrary"> loader="com.sun.star.loader.SharedLibrary"
prefix="pptminimizer">
<implementation name="com.sun.star.comp.PPPOptimizerImp"> <implementation name="com.sun.star.comp.PPPOptimizerImp">
<service name="com.sun.star.comp.PPPOptimizer"/> <service name="com.sun.star.comp.PPPOptimizer"/>
</implementation> </implementation>

View File

@@ -42,7 +42,7 @@ using namespace ::com::sun::star::registry;
extern "C" extern "C"
{ {
SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( SAL_DLLPUBLIC_EXPORT void* SAL_CALL pptminimizer_component_getFactory(
const sal_Char * pImplName, void * pServiceManager, const sal_Char * pImplName, void * pServiceManager,
SAL_UNUSED_PARAMETER void * /*pRegistryKey*/ ) SAL_UNUSED_PARAMETER void * /*pRegistryKey*/ )
{ {

View File

@@ -1,6 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<component xmlns="http://openoffice.org/2010/uno-components" <component xmlns="http://openoffice.org/2010/uno-components"
loader="com.sun.star.loader.SharedLibrary"> loader="com.sun.star.loader.SharedLibrary"
prefix="pdfimport">
<implementation name="com.sun.star.comp.documents.HybridPDFImport"> <implementation name="com.sun.star.comp.documents.HybridPDFImport">
<service name="com.sun.star.document.ImportFilter"/> <service name="com.sun.star.document.ImportFilter"/>
</implementation> </implementation>

View File

@@ -119,7 +119,7 @@ namespace
} }
} }
extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL pdfimport_component_getFactory(
const sal_Char* pImplementationName, const sal_Char* pImplementationName,
SAL_UNUSED_PARAMETER void* /*pServiceManager*/, SAL_UNUSED_PARAMETER void* /*pServiceManager*/,
SAL_UNUSED_PARAMETER void* /*pRegistryKey*/ ) SAL_UNUSED_PARAMETER void* /*pRegistryKey*/ )

View File

@@ -100,12 +100,12 @@ static struct ImplementationEntry gServiceEntries[] =
extern "C" extern "C"
{ {
SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL presenter_component_canUnload( TimeValue *pTime )
{ {
return g_moduleCount.canUnload( &g_moduleCount , pTime ); return g_moduleCount.canUnload( &g_moduleCount , pTime );
} }
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( SAL_DLLPUBLIC_EXPORT void * SAL_CALL presenter_component_getFactory(
const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ) const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
{ {
return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , gServiceEntries); return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , gServiceEntries);

View File

@@ -1,6 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<component xmlns="http://openoffice.org/2010/uno-components" <component xmlns="http://openoffice.org/2010/uno-components"
loader="com.sun.star.loader.SharedLibrary"> loader="com.sun.star.loader.SharedLibrary"
prefix="presenter">
<implementation name="com.sun.star.comp.Draw.framework.PresenterScreenJob"> <implementation name="com.sun.star.comp.Draw.framework.PresenterScreenJob">
<service name="com.sun.star.drawing.framework.PresenterScreenJob"/> <service name="com.sun.star.drawing.framework.PresenterScreenJob"/>
</implementation> </implementation>