Kaydet (Commit) 7501beaf authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Dead code

Change-Id: Id851bacb21bbe289cebd635853f4d2028aed9f78
üst 777d6de3
...@@ -61,8 +61,3 @@ Support for developing scripts in IDEs such as NetBeans. ...@@ -61,8 +61,3 @@ Support for developing scripts in IDEs such as NetBeans.
- source/pyprov - source/pyprov
LanguageScriptProvider for Python LanguageScriptProvider for Python
- source/storage
- source/runtimemgr
Implementations of deprecated Scripting Framework UNO types
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#define DLG_SCRIPTEXEC 1000
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include "ScriptExecDialog.hrc"
QueryBox DLG_SCRIPTEXEC
{
Buttons = WB_YES_NO ;
DefButton = WB_DEF_YES ;
Title = "Script execution" ;
Message = "You are about to execute a script. Do you want to execute this script?" ;
};
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef _FRAMEWORK_SCRIPT_SCRIPTNAMERESOLVERIMPL_HXX_
#define _FRAMEWORK_SCRIPT_SCRIPTNAMERESOLVERIMPL_HXX_
#include <cppuhelper/implbase1.hxx> // helper for XInterface, XTypeProvider etc.
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <com/sun/star/uno/RuntimeException.hpp>
#include <com/sun/star/script/CannotConvertException.hpp>
#include <com/sun/star/reflection/InvocationTargetException.hpp>
#include <drafts/com/sun/star/script/framework/runtime/XScriptNameResolver.hpp>
#include <drafts/com/sun/star/script/framework/storage/XScriptInfoAccess.hpp>
#include <drafts/com/sun/star/script/framework/storage/XScriptInfo.hpp>
namespace css = ::com::sun::star;
namespace scripting_runtimemgr
{
class ScriptNameResolverImpl : public
::cppu::WeakImplHelper1 < ::drafts::com::sun::star::script::framework::runtime::XScriptNameResolver >
{
public:
/**********************************************
ScriptNameResolverImpl Constructor
@param the current context
*/
ScriptNameResolverImpl(
const css::uno::Reference< css::uno::XComponentContext > & xContext );
~ScriptNameResolverImpl();
// XServiceInfo implementation
virtual ::rtl::OUString SAL_CALL getImplementationName()
throw( css::uno::RuntimeException );
virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName )
throw( css::uno::RuntimeException );
virtual css::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames()
throw( css::uno::RuntimeException );
/**********************************************
resolve method
@param scriptURI this is the given ScriptURI
@param invocationCtx the invocation context contains the
documentStorageID and document reference for use in script name
resolving. On full name resolution it sets the resolvedScriptStorageID to
the actual storage location of the fully resolved script. May or may not * be the
same as the documentStorageID.
@exception CannotResolveScriptNameException
@exception IllegalArgumentException
@exception NullPointerException
@return the resolved XScriptURI
*/
css::uno::Reference < ::drafts::com::sun::star::script::framework::storage::XScriptInfo > SAL_CALL resolve(
const ::rtl::OUString & scriptURI,
css::uno::Any& invocationCtx )
throw( css::script::CannotConvertException, css::lang::IllegalArgumentException,
css::uno::RuntimeException );
private:
css::uno::Reference < ::drafts::com::sun::star::script::framework::storage::XScriptInfo >
resolveURIFromStorageID( sal_Int32 sid, const rtl::OUString & docURI,
const ::rtl::OUString & nameToResolve )
SAL_THROW ( ( css::lang::IllegalArgumentException, css::uno::RuntimeException ) );
css::uno::Reference< ::drafts::com::sun::star::script::framework::storage::XScriptInfoAccess >
getStorageInstance( sal_Int32 sid, const rtl::OUString & permissionURI)
SAL_THROW ( ( css::uno::RuntimeException ) );
::rtl::OUString
ScriptNameResolverImpl::getFilesysURL( const ::rtl::OUString & scriptURI )
throw( css::lang::IllegalArgumentException );
/**********************************************
Reference< XComponentContext > m_xContext
to obtain other services if needed
*/
css::uno::Reference< css::uno::XComponentContext > m_xContext;
css::uno::Reference< css::lang::XMultiComponentFactory > m_xMultiComFac;
::osl::Mutex m_mutex;
};
} // scripting_runtimemgr
#endif //_FRAMEWORK_SCRIPT_SCRIPTNAMERESOLVERIMPL_HXX_
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef _FRAMEWORK_SCRIPT_SCRIPTRUNTIMEMANAGER_HXX_
#define _FRAMEWORK_SCRIPT_SCRIPTRUNTIMEMANAGER_HXX_
#include <osl/mutex.hxx>
#include <cppuhelper/implbase3.hxx>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <com/sun/star/uno/RuntimeException.hpp>
#include <com/sun/star/lang/XMultiComponentFactory.hpp>
#include <com/sun/star/script/CannotConvertException.hpp>
#include <com/sun/star/reflection/InvocationTargetException.hpp>
#include <drafts/com/sun/star/script/framework/runtime/XScriptInvocation.hpp>
#include <drafts/com/sun/star/script/framework/runtime/XScriptNameResolver.hpp>
namespace css = ::com::sun::star;
namespace scripting_runtimemgr
{
/**
* Class responsible for managing the various ScriptRuntime implementations.
*/
class ScriptRuntimeManager : public
::cppu::WeakImplHelper3< ::drafts::com::sun::star::script::framework::runtime::XScriptInvocation, css::lang::XServiceInfo,
::drafts::com::sun::star::script::framework::runtime::XScriptNameResolver >
{
public:
explicit ScriptRuntimeManager(
const css::uno::Reference< css::uno::XComponentContext > & xContext );
~ScriptRuntimeManager();
// XServiceInfo implementation
virtual ::rtl::OUString SAL_CALL getImplementationName()
throw( css::uno::RuntimeException );
virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName )
throw( css::uno::RuntimeException );
virtual css::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames()
throw( css::uno::RuntimeException );
/**
* implements XScriptInvocation, invokes the script named in scriptURI
* (resolving it first, if necessary), with the args passed.
*
* @param scriptURI the URI, which may not be fully qualified, for the
* script to be invoked
*
*************************************************************
Invoke
@param scriptUri script uri describing the script
@param invocationCtx
the invocation context contains the documentStorageID and document reference
for use in script name resolving
@param aParams all parameters; pure, out params are undefined in sequence,
i.e., the value has to be ignored by the callee
@param aOutParamIndex out indices
@param aOutParam out parameters
@returns
the value returned from the function being invoked
@throws IllegalArgumentException
if there is no matching script name
@throws CannotConvertException
if args do not match or cannot be converted the those
of the invokee
@throws InvocationTargetException
if the running script throws an exception this information is captured and
rethrown as this exception type.
*/
virtual css::uno::Any SAL_CALL invoke(
const ::rtl::OUString & scriptUri,
const css::uno::Any& invocationCtx,
const css::uno::Sequence< css::uno::Any >& aParams,
css::uno::Sequence< sal_Int16 >& aOutParamIndex,
css::uno::Sequence< css::uno::Any >& aOutParam )
throw ( css::lang::IllegalArgumentException,
css::script::CannotConvertException,
css::reflection::InvocationTargetException,
css::uno::RuntimeException );
/**
* implements XScriptNameResolver, attempts to resolve the script URI
* passed in
*
* @param scriptURI the URI to be resolved
* @param invocationCtx the invocation context contains the
* documentStorageID and document reference for use in script name
* resolving. On full name resolution it sets the resolvedScriptStorageID to
* the actual storage location of the fully resolved script. May or may not * be the
same as the documentStorageID.
* @return the resolved URI
*/
virtual css::uno::Reference< ::drafts::com::sun::star::script::framework::storage::XScriptInfo > SAL_CALL resolve(
const ::rtl::OUString& scriptUri,
css::uno::Any& invocationCtx )
throw( css::lang::IllegalArgumentException, css::script::CannotConvertException,
css::uno::RuntimeException );
private:
css::uno::Reference< ::drafts::com::sun::star::script::framework::runtime::XScriptInvocation > SAL_CALL getScriptRuntime(
const css::uno::Reference< css::uno::XInterface > & scriptInfo )
throw( css::uno::RuntimeException );
css::uno::Reference< ::drafts::com::sun::star::script::framework::runtime::XScriptNameResolver > SAL_CALL getScriptNameResolver()
throw( css::uno::RuntimeException );
css::uno::Reference< css::uno::XComponentContext > m_xContext;
css::uno::Reference< css::lang::XMultiComponentFactory > m_xMgr;
::osl::Mutex m_mutex;
};
} // scripting_runtimemgr
#endif //_FRAMEWORK_SCRIPT_SCRIPTRUNTIMEMANAGER_HXX_
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <com/sun/star/lang/XMultiComponentFactory.hpp>
#include <drafts/com/sun/star/script/framework/storage/XScriptStorageManager.hpp>
#include "StorageBridge.hxx"
#include <util/util.hxx>
using namespace ::rtl;
using namespace ::osl;
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::drafts::com::sun::star::script::framework;
namespace scripting_runtimemgr
{
const char* const SCRIPTIMPLACCESS_SERVICE =
"drafts.com.sun.star.script.framework.storage.StorageProxy";
const char* const SCRIPTSTORAGEMANAGER_SERVICE =
"/singletons/drafts.com.sun.star.script.framework.storage.theScriptStorageManager";
const int STORAGEID = 0;
const int STORAGEPROXY = 0;
//*************************************************************************
// StorageBridge Constructor
StorageBridge::StorageBridge( const Reference< XComponentContext >& xContext,
sal_Int32 sid ) : m_xContext( xContext, UNO_SET_THROW ), m_sid( sid )
{
try
{
initStorage();
}
catch ( const RuntimeException & re )
{
OUString temp = OUSTR( "StorageBridge::StorageBridge(salIn32&): " );
throw RuntimeException( temp.concat( re.Message ), Reference< XInterface >() );
}
}
//*************************************************************************
void
StorageBridge::initStorage() throw ( ::com::sun::star::uno::RuntimeException )
{
try
{
Reference< lang::XMultiComponentFactory > xMultiComFac( m_xContext->getServiceManager(), UNO_SET_THROW );
Reference< XInterface > temp( m_xContext->getValueByName(
OUString::createFromAscii( SCRIPTSTORAGEMANAGER_SERVICE ) ), UNO_QUERY_THROW );
Reference< storage::XScriptStorageManager > xScriptStorageManager( temp, UNO_QUERY_THROW );
Reference< XInterface > xScriptStorage( xScriptStorageManager->getScriptStorage( m_sid ), UNO_SET_THROW );
m_xScriptInfoAccess.set( xScriptStorage, UNO_QUERY_THROW );
}
catch ( const RuntimeException & re )
{
OUString temp = OUSTR( "StorageBridge::StorageBridge: " );
throw RuntimeException( temp.concat( re.Message ), Reference< XInterface >() );
}
catch ( const Exception & e )
{
OUString temp = OUSTR( "StorageBridge::StorageBridge: " );
throw RuntimeException( temp.concat( e.Message ), Reference< XInterface >() );
}
}
//*************************************************************************
Sequence< ::rtl::OUString >
StorageBridge::getScriptLogicalNames()
throw ( lang::IllegalArgumentException,
RuntimeException )
{
OSL_TRACE( "In StorageBridge getScriptLogicalNames..." );
Sequence < ::rtl::OUString > results;
try
{
results = m_xScriptInfoAccess->getScriptLogicalNames();
}
catch ( const Exception &e )
{
OUString temp = OUSTR( "StorageBridge::getScriptLogicalNames: " );
throw RuntimeException( temp.concat( e.Message ), Reference< XInterface >() );
}
return results;
}
//*************************************************************************
Sequence < Reference< storage::XScriptInfo > >
StorageBridge::getImplementations( const ::rtl::OUString& queryURI )
throw ( lang::IllegalArgumentException, RuntimeException )
{
OSL_TRACE( "In StorageBridge getImplementations..." );
Sequence < Reference< storage::XScriptInfo > > results;
try
{
results = m_xScriptInfoAccess->getImplementations( queryURI );
}
catch ( const Exception &e )
{
OUString temp = OUSTR( "StorageBridge::getImplementations: " );
throw RuntimeException( temp.concat( e.Message ), Reference< XInterface >() );
}
return results;
}
}// namespace
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef _FRAMEWORK_SCRIPT_STORAGEBRIDGE_HXX_
#define _FRAMEWORK_SCRIPT_STORAGEBRIDGE_HXX_
#include <cppuhelper/implbase1.hxx>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <drafts/com/sun/star/script/framework/storage/XScriptInfoAccess.hpp>
#include "StorageBridgeFactory.hxx"
namespace css = ::com::sun::star;
namespace scripting_runtimemgr
{
class StorageBridge : public ::cppu::WeakImplHelper1< ::drafts::com::sun::star::script::framework::storage::XScriptInfoAccess >
{
friend class StorageBridgeFactory;
public:
//XScriptInfoAccess
//=========================================================================
/**
* Get the implementations for a given URI
*
* @param queryURI
* The URI to get the implementations for
*
* @return XScriptURI
* The URIs of the implementations
*/
virtual css::uno::Sequence< css::uno::Reference< ::drafts::com::sun::star::script::framework::storage::XScriptInfo > >
SAL_CALL getImplementations(
const ::rtl::OUString& queryURI )
throw ( css::lang::IllegalArgumentException,
css::uno::RuntimeException );
//=========================================================================
/**
* Get the all logical names stored in this storage
*
* @return sequence < ::rtl::OUString >
* The logical names
*/
virtual css::uno::Sequence< ::rtl::OUString >
SAL_CALL getScriptLogicalNames()
throw ( css::lang::IllegalArgumentException, css::uno::RuntimeException );
private:
StorageBridge( const css::uno::Reference< css::uno::XComponentContext >& xContext,
sal_Int32 sid );
void initStorage() throw ( css::uno::RuntimeException );
css::uno::Reference< css::uno::XComponentContext > m_xContext;
css::uno::Reference< ::drafts::com::sun::star::script::framework::storage::XScriptInfoAccess > m_xScriptInfoAccess;
sal_Int32 m_sid;
};
}
#endif //_COM_SUN_STAR_SCRIPTING_STORAGEBRIDGE_HXX_
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include "StorageBridgeFactory.hxx"
#include "StorageBridge.hxx"
using namespace ::drafts::com::sun::star::script::framework;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star;
namespace scripting_runtimemgr
{
//*************************************************************************
StorageBridgeFactory::StorageBridgeFactory(
const Reference< XComponentContext >& xContext ) :
m_xContext( xContext )
{}
//*************************************************************************
// StorageBridge is a bridge between us an storage, the StorageBridge implements the
// XScriptInfoAccess
// interface, it allows both the "real" storage and a java test storage component to be
// configured.
// @param location contains a url for the document.
// @returns a storage instance for the location "location".
// @see StorageBridge.cxx for flag "STORAGEPROXY", set to use java "test" component or
// use "real" storage.
Reference< storage::XScriptInfoAccess >
StorageBridgeFactory::getStorageInstance( sal_Int32 sid )
{
Reference< storage::XScriptInfoAccess > storage = new StorageBridge( m_xContext,
sid ) ;
return storage;
}
} //scripting_runtimemgr
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef _FRAMEWORK_SCRIPT_STORAGEBRIDGEFACTORY_HXX_
#define _FRAMEWORK_SCRIPT_STORAGEBRIDGEFACTORY_HXX_
#include <rtl/ustring>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/uno/Reference.hxx>
#include <drafts/com/sun/star/script/framework/storage/XScriptInfoAccess.hpp>
namespace css = ::com::sun::star;
namespace scripting_runtimemgr
{
class StorageBridgeFactory
{
public:
explicit StorageBridgeFactory(
const css::uno::Reference < css::uno::XComponentContext > & xContext );
css::uno::Reference < ::drafts::com::sun::star::script::framework::storage::XScriptInfoAccess >
getStorageInstance( sal_Int32 sid );
private:
StorageBridgeFactory(); // No definition for default ctor
css::uno::Reference< css::uno::XComponentContext > m_xContext;
};
} // scripting_runtimemgr
#endif //_FRAMEWORK_SCRIPT_NAMERESOLVER_HXX_
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# This file incorporates work covered by the following license notice:
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed
# with this work for additional information regarding copyright
# ownership. The ASF licenses this file to you under the Apache
# License, Version 2.0 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
PRJ=..$/..
PRJNAME= scripting
TARGET= runtimemgr
USE_DEFFILE= TRUE
ENABLE_EXCEPTIONS=TRUE
COMP1TYPELIST=$(TARGET)
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
# ------------------------------------------------------------------
SLOFILES=\
$(SLO)$/ScriptNameResolverImpl.obj\
$(SLO)$/ScriptRuntimeManager.obj \
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module-description PUBLIC "-//StarOffice//DTD ComponentDescription 1.0//EN" "module-description.dtd">
<!--
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->
<module-description xmlns:xlink="http://www.w3.org/1999/xlink">
<module-name> ScriptRuntimeManager </module-name>
<component-description>
<author> Alexis Ledoux</author>
<name> drafts.com.sun.star.script.framework.ScriptRuntimeManager </name>
<description>
This component is part of the Scripting Framework
</description>
<loader-name> com.sun.star.loader.SharedLibrary </loader-name>
<language> c++ </language>
<status value="final"/>
<supported-service> drafts.com.sun.star.script.framework.ScriptRuntimeManager </supported-service>
<type> com.sun.star.lang.XSingleServiceFactory </type>
<type> com.sun.star.lang.XMultiComponentFactory </type>
<type> com.sun.star.lang.XSingleComponentFactory </type>
<type> com.sun.star.uno.XNamingService </type>
<type> com.sun.star.uno.XWeak </type>
<type> com.sun.star.lang.XMain </type>
<type> com.sun.star.uno.XAggregation </type>
<type> com.sun.star.lang.XMultiServiceFactory </type>
<type> com.sun.star.lang.XTypeProvider </type>
<type> com.sun.star.registry.XSimpleRegistry </type>
<type> com.sun.star.loader.XImplementationLoader </type>
<type> com.sun.star.registry.XImplementationRegistration </type>
<type> com.sun.star.lang.XComponent </type>
<type> com.sun.star.connection.XAcceptor </type>
<type> com.sun.star.connection.XConnector </type>
<type> com.sun.star.container.XHierarchicalNameAccess </type>
<type> com.sun.star.lang.XServiceInfo </type>
<type> com.sun.star.io.XOutputStream </type>
<type> drafts.com.sun.star.script.framework.storage.XScriptInfoAccess </type>
<type> drafts.com.sun.star.script.framework.storage.XScriptStorageManager </type>
<type> drafts.com.sun.star.script.framework.runtime.XScriptInvocation </type>
<type> drafts.com.sun.star.script.framework.runtime.XScriptNameResolver </type>
</component-description>
<project-build-dependency> cppuhelper </project-build-dependency>
<project-build-dependency> cppu </project-build-dependency>
<project-build-dependency> sal </project-build-dependency>
<runtime-module-dependency> cppuhelper$(UDK_MAJOR)$(COM) </runtime-module-dependency>
<runtime-module-dependency> salhelper$(UDK_MAJOR)$(COM) </runtime-module-dependency>
<runtime-module-dependency> cppu$(UDK_MAJOR) </runtime-module-dependency>
<runtime-module-dependency> reg$(UDK_MAJOR) </runtime-module-dependency>
<runtime-module-dependency> store$(UDK_MAJOR) </runtime-module-dependency>
<runtime-module-dependency> sal$(UDK_MAJOR) </runtime-module-dependency>
</module-description>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment