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 __COMIFACES_HXX
24 #define __COMIFACES_HXX
25 
26 #include <com/sun/star/uno/XInterface.hpp>
27 
28 using namespace com::sun::star::uno;
29 
30 #ifdef __MINGW32__
31 DEFINE_GUID(IID_IJScriptValueObject, 0xe40a2331, 0x3bc1, 0x11d4, 0x83, 0x21, 0x00, 0x50, 0x04, 0x52, 0x6a, 0xb4);
32 DEFINE_GUID(IID_IUnoObjectWrapper, 0x7B5C3410, 0x66FA, 0x11d4, 0x83, 0x2A, 0x00, 0x50, 0x04, 0x52, 0x6A, 0xB4);
33 DEFINE_GUID(IID_IUnoTypeWrapper, 0x8BB66591, 0xA544, 0x4de9, 0x82, 0x2C, 0x57, 0xAB, 0x57, 0xBC, 0xED, 0x1C);
34 #endif
35 MIDL_INTERFACE("e40a2331-3bc1-11d4-8321-005004526ab4")
36 IJScriptValueObject: public IUnknown
37 {
38 	STDMETHOD( Set)( VARIANT type,  VARIANT value)= 0;
39 	STDMETHOD( Get)( VARIANT *val)= 0;
40 	STDMETHOD( InitOutParam)()= 0;
41 	STDMETHOD( InitInOutParam)( VARIANT type, VARIANT value)= 0;
42 	STDMETHOD( IsOutParam)( VARIANT_BOOL * flag)= 0;
43 	STDMETHOD( IsInOutParam)( VARIANT_BOOL * flag)= 0;
44 	STDMETHOD( GetValue)( BSTR* type, VARIANT *value)= 0;
45 
46 };
47 
48 MIDL_INTERFACE("7B5C3410-66FA-11d4-832A-005004526AB4")
49 IUnoObjectWrapper: public IUnknown
50 {
51 	STDMETHOD( getWrapperXInterface)( Reference<XInterface>* pInt)=0;
52 	STDMETHOD( getOriginalUnoObject)( Reference<XInterface>* pInt)=0;
53 	STDMETHOD( getOriginalUnoStruct)( Any * pStruct)=0;
54 
55 };
56 
57 MIDL_INTERFACE("8BB66591-A544-4de9-822C-57AB57BCED1C")
58 IUnoTypeWrapper: public IUnknown
59 {
60     STDMETHOD(put_Name)(BSTR val) = 0;
61     STDMETHOD(get_Name)(BSTR* pVal) = 0;
62 };
63 
64 
65 #endif
66