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"?>
<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">
<service name="com.sun.star.comp.PPPOptimizer"/>
</implementation>

View File

@ -42,7 +42,7 @@ using namespace ::com::sun::star::registry;
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,
SAL_UNUSED_PARAMETER void * /*pRegistryKey*/ )
{

View File

@ -1,6 +1,7 @@
<?xml version="1.0"?>
<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">
<service name="com.sun.star.document.ImportFilter"/>
</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,
SAL_UNUSED_PARAMETER void* /*pServiceManager*/,
SAL_UNUSED_PARAMETER void* /*pRegistryKey*/ )

View File

@ -100,12 +100,12 @@ static struct ImplementationEntry gServiceEntries[] =
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 );
}
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 )
{
return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , gServiceEntries);

View File

@ -1,6 +1,7 @@
<?xml version="1.0"?>
<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">
<service name="com.sun.star.drawing.framework.PresenterScreenJob"/>
</implementation>