From 26a17669d5bbe970a603423197c18a9383c73df6 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 16 Mar 2011 17:52:46 +0200 Subject: Make the OCMA UCP build again, add .component file --- ucb/source/ucp/odma/makefile.mk | 7 +++++++ ucb/source/ucp/odma/odma_services.cxx | 16 ---------------- ucb/source/ucp/odma/ucpodma1.component | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 41 insertions(+), 16 deletions(-) mode change 100755 => 100644 ucb/source/ucp/odma/makefile.mk create mode 100644 ucb/source/ucp/odma/ucpodma1.component (limited to 'ucb') diff --git a/ucb/source/ucp/odma/makefile.mk b/ucb/source/ucp/odma/makefile.mk old mode 100755 new mode 100644 index 643b4fa2788e..4af8c7649ae5 --- a/ucb/source/ucp/odma/makefile.mk +++ b/ucb/source/ucp/odma/makefile.mk @@ -102,3 +102,10 @@ LIB3OBJFILES=$(SLO3FILES) .INCLUDE: target.mk +ALLTAR : $(MISC)/$(TARGET)$(UCP_VERSION).component + +$(MISC)/$(TARGET)$(UCP_VERSION).component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ + $(TARGET)$(UCP_VERSION).component + $(XSLTPROC) --nonet --stringparam uri \ + '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ + $(SOLARENV)/bin/createcomponent.xslt $(TARGET)$(UCP_VERSION).component diff --git a/ucb/source/ucp/odma/odma_services.cxx b/ucb/source/ucp/odma/odma_services.cxx index e93674cd6ad9..5465c8a202a3 100755 --- a/ucb/source/ucp/odma/odma_services.cxx +++ b/ucb/source/ucp/odma/odma_services.cxx @@ -45,22 +45,6 @@ extern "C" void SAL_CALL component_getImplementationEnvironment( *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; } -//========================================================================= -extern "C" sal_Bool SAL_CALL component_writeInfo( - void * /*pServiceManager*/, void * pRegistryKey ) -{ - return pRegistryKey && - - ////////////////////////////////////////////////////////////////////// - // Write info into registry. - ////////////////////////////////////////////////////////////////////// - - // @@@ Adjust namespace names. - writeInfo( pRegistryKey, - ::odma::ContentProvider::getImplementationName_Static(), - ::odma::ContentProvider::getSupportedServiceNames_Static() ); -} - //========================================================================= extern "C" void * SAL_CALL component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ ) diff --git a/ucb/source/ucp/odma/ucpodma1.component b/ucb/source/ucp/odma/ucpodma1.component new file mode 100644 index 000000000000..fa1abaee8517 --- /dev/null +++ b/ucb/source/ucp/odma/ucpodma1.component @@ -0,0 +1,34 @@ + + + + + + + + -- cgit