1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef __com_sun_star_bridge_OleApplicationRegistration_idl__
20 #define __com_sun_star_bridge_OleApplicationRegistration_idl__
22 #include
<com
/sun
/star
/uno
/XInterface.idl
>
26 module com
{ module sun
{ module star
{ module bridge
{
29 /** registers UNO objects as COM objects.
32 That is, COM class factories are registered with COM at runtime. The required
33 EXE server is the application which deploys this service. In order to access the
34 factories by COM API functions, there need to be proper registry entries. This service
35 does not provide for writing those entries.<p>
36 The instantiation of the registered objects can be carried out by any ordinary mechanism
37 which is used in a certain language to create COM components. For example, CreateObject
38 in Visual Basic, CoCreateInstance in C++.
40 Currently only a factory for the service com.sun.star.long.MultiServiceFactory is registered
41 by this service. The CLSID is {82154420-0FBF-11d4-8313-005004526AB4} and the ProgId is
42 com.sun.star.ServiceManager.
45 <p>OleApplicationRegistration does not provide any particular interface because the UNO objects
46 are registered while instantiating this service and deregistered
47 if the implementation, which makes use of this service, is being released.</p>
51 published service OleApplicationRegistration
54 interface com
::sun
::star
::uno
::XInterface
;
63 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */