fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / udkapi / com / sun / star / reflection / XMethodParameter.idl
blob11c0eb076461f54e4ec74273f9afb154c36c2244
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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_reflection_XMethodParameter_idl__
20 #define __com_sun_star_reflection_XMethodParameter_idl__
22 #include <com/sun/star/uno/XInterface.idl>
24 #include <com/sun/star/reflection/XTypeDescription.idl>
28 module com { module sun { module star { module reflection {
31 /** Reflects a method parameter.
33 <p>This type is superseded by XParameter, which supports
34 parameters of service constructors as well as parameters of interface
35 methods.</p>
37 @see XInterfaceMethodTypeDescription
39 published interface XMethodParameter: com::sun::star::uno::XInterface
41 /** Returns the name of the parameter
43 @return
44 name of parameter
46 string getName();
48 /** Returns the type of the parameter.
50 @return
51 type of parameter
53 com::sun::star::reflection::XTypeDescription getType();
55 /** Returns true, if the parameter is declared as [in] or [inout] in IDL.
57 @return
58 true, if declared [in] or [inout] parameter
60 boolean isIn();
62 /** Returns true, if the parameter is declared as [out] or [inout] in IDL.
64 @return
65 true, if declared [out] or [inout] parameter
67 boolean isOut();
69 /** Returns the position of the parameter regarding the IDL method declaration.
71 @return
72 position of the parameter
74 long getPosition();
78 }; }; }; };
80 #endif
82 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */