From a0cb17e25ec80250a4c7e4547a63bf090aea04d3 Mon Sep 17 00:00:00 2001 From: sb Date: Fri, 10 Sep 2010 13:10:07 +0200 Subject: sb129: #i113189# change UNO components to use passive registration --- animations/prj/d.lst | 1 + animations/source/animcore/animcore.component | 67 +++++++++++++++++++++++++++ animations/source/animcore/factreg.cxx | 6 --- animations/source/animcore/makefile.mk | 8 ++++ 4 files changed, 76 insertions(+), 6 deletions(-) create mode 100644 animations/source/animcore/animcore.component (limited to 'animations') diff --git a/animations/prj/d.lst b/animations/prj/d.lst index bdab238656c3..9a91b35b2f50 100644 --- a/animations/prj/d.lst +++ b/animations/prj/d.lst @@ -7,3 +7,4 @@ mkdir: %_DEST%\inc%_EXT%\animations ..\inc\animations\animationnodehelper.hxx %_DEST%\inc%_EXT%\animations\animationnodehelper.hxx +..\%__SRC%\misc\animcore.component %_DEST%\xml%_EXT%\animcore.component diff --git a/animations/source/animcore/animcore.component b/animations/source/animcore/animcore.component new file mode 100644 index 000000000000..1a9a390fb64b --- /dev/null +++ b/animations/source/animcore/animcore.component @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/animations/source/animcore/factreg.cxx b/animations/source/animcore/factreg.cxx index 3cfc350d405d..ce12955f4125 100644 --- a/animations/source/animcore/factreg.cxx +++ b/animations/source/animcore/factreg.cxx @@ -85,12 +85,6 @@ void SAL_CALL component_getImplementationEnvironment( *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; } //================================================================================================== -sal_Bool SAL_CALL component_writeInfo( - void * pServiceManager, void * pRegistryKey ) -{ - return component_writeInfoHelper( pServiceManager, pRegistryKey, g_entries ); -} -//================================================================================================== void * SAL_CALL component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ) { diff --git a/animations/source/animcore/makefile.mk b/animations/source/animcore/makefile.mk index b78460ada157..674858cd50d0 100644 --- a/animations/source/animcore/makefile.mk +++ b/animations/source/animcore/makefile.mk @@ -68,3 +68,11 @@ DEF1NAME= $(SHL1TARGET) # --- Targets ------------------------------------------------------ .INCLUDE : target.mk + +ALLTAR : $(MISC)/animcore.component + +$(MISC)/animcore.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ + animcore.component + $(XSLTPROC) --nonet --stringparam uri \ + '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ + $(SOLARENV)/bin/createcomponent.xslt animcore.component -- cgit