8b34ad6204
XServiceInfo does not need to be declared as a supported sub-interface for services, it is always implicitly there. Also, for those services that now only contain one interface, convert them to new-style service IDL declarations. Change-Id: I325c27f287a02de6bdfc8bb6e5bf6c2a4ae0a753 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
51 lines
2.1 KiB
Text
51 lines
2.1 KiB
Text
/* -*- 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 __com_sun_star_loader_SharedLibrary_idl__
|
|
#define __com_sun_star_loader_SharedLibrary_idl__
|
|
|
|
#include <com/sun/star/lang/XServiceInfo.idl>
|
|
|
|
module com { module sun { module star { module loader {
|
|
|
|
published interface XImplementationLoader;
|
|
|
|
|
|
/**
|
|
Makes it possible to access services accessible via a <code>UnoUrlResolver</code>
|
|
E.g., instantiation of services in another process. This service is still in an
|
|
experimental state and should not be used in a production environment.
|
|
|
|
Is used to write persistent information into the given registry
|
|
for accessing a <code>SingleServiceFactory</code> and for activating this
|
|
implementation.
|
|
|
|
Allows registration and activation of described service.
|
|
The url parameter has to be a comma-separated list of attributes.
|
|
The following attribute types are understood:
|
|
servicename = the service name to register this component under
|
|
link = a parameter given to a resolver to get a <code>SingleServiceFactory</code>
|
|
resolver = a <code>UnoUrlResolver</code> service, which is used to resolve the link
|
|
*/
|
|
published service Dynamic : XImplementationLoader;
|
|
|
|
}; }; }; };
|
|
|
|
#endif
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|