xref: /AOO41X/main/comphelper/inc/comphelper/eventattachermgr.hxx (revision 9877b273795ec465a3ce9c15d738eb34c0455705)
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 
24 #ifndef _COMPHELPER_EVENTATTACHERMGR_HXX_
25 #define _COMPHELPER_EVENTATTACHERMGR_HXX_
26 
27 #include <com/sun/star/uno/Reference.hxx>
28 #include "comphelper/comphelperdllapi.h"
29 
30 namespace com { namespace sun { namespace star {
31 namespace uno {
32     class Exception;
33 }
34 namespace lang {
35     class XMultiServiceFactory;
36 }
37 namespace script {
38     class XEventAttacherManager;
39 }
40 namespace beans {
41     class XIntrospection;
42 }
43 } } }
44 
45 
46 namespace comphelper
47 {
48 
49 COMPHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::script::XEventAttacherManager >
50 createEventAttacherManager(
51         const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XIntrospection > & rIntrospection,
52         const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rSMgr )
53     throw( ::com::sun::star::uno::Exception );
54 
55 
56 COMPHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::script::XEventAttacherManager >
57 createEventAttacherManager(
58         const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rSMgr )
59     throw( ::com::sun::star::uno::Exception );
60 
61 }
62 
63 #endif // _COMPHELPER_EVENTATTACHERMGR_HXX_
64 
65