xref: /AOO41X/main/udkapi/com/sun/star/bridge/oleautomation/ApplicationRegistration.idl (revision 408a4873fc8bcc602c90ea4598886bb71abf0675)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23#ifndef __com_sun_star_bridge_oleautomation_ApplicationRegistration_idl__
24#define __com_sun_star_bridge_oleautomation_ApplicationRegistration_idl__
25
26#ifndef __com_sun_star_uno_XInterface_idl__
27#include <com/sun/star/uno/XInterface.idl>
28#endif
29
30
31//=============================================================================
32
33module com {  module sun {  module star {  module bridge { module oleautomation {
34
35//=============================================================================
36
37/** registers UNO objects as COM objects.
38    <p>
39    That is, COM class factories are registered with COM at runtime. The required
40    EXE server is the application which deploys this service. In order to access
41    the factories by COM API functions, there need to be proper registry entries.
42    This service does not provide for writing those entries.
43    </p>
44    <p>
45    The instantiation of the registered objects can be carried out by any
46    ordinary mechanism which is used in a certain language to create COM
47    components. For example, <code>CreateObject</code> in Visual Basic,
48    <code>CoCreateInstance</code> in C++.
49    </p>
50    <p>
51    Currently only a factory for the service
52    <type scope="com::sun::star::lang">MultiServiceFactory</type> is registered
53    by this service. The CLSID is {82154420-0FBF-11d4-8313-005004526AB4} and the
54    ProgId is com.sun.star.ServiceManager.
55    </p>
56    <p>
57    <type>ApplicationRegistration</type> does not provide any particular
58    interface because the UNO objects are registered while instantiating this
59    service and deregistered if the implementation, which makes use of this
60    service, is being released.
61    </p>
62 */
63service ApplicationRegistration
64{
65
66    interface com::sun::star::uno::XInterface;
67
68};
69
70//=============================================================================
71
72}; }; }; }; };
73
74/*=============================================================================
75
76=============================================================================*/
77#endif
78