Bump version to 4.1-6
[LibreOffice.git] / idlc / test / interface.idl
blob8787c4d50e6273dad0a1330a16212132eca8c42a
1 /*
2 * This file is part of the LibreOffice project.
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 * This file incorporates work covered by the following license notice:
10 * Licensed to the Apache Software Foundation (ASF) under one or more
11 * contributor license agreements. See the NOTICE file distributed
12 * with this work for additional information regarding copyright
13 * ownership. The ASF licenses this file to you under the Apache
14 * License, Version 2.0 (the "License"); you may not use this file
15 * except in compliance with the License. You may obtain a copy of
16 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #include <enum.idl>
20 #include <struct.idl>
22 module idlc
25 module test
28 interface XBase
30 [readonly, attribute] string description;
32 string getDescription();
35 interface XTestBaseTypes : XBase
37 void voidFunc();
39 short shortFunc( [in] short inparam, [out] short outparam, [inout] short inoutparam);
40 unsigned short uShortFunc( [in] unsigned short inparam, [out] unsigned short outparam, [inout] unsigned short inoutparam);
42 long longFunc( [in] long inparam, [out] long outparam, [inout] long inoutparam);
43 unsigned long ulongFunc( [in] unsigned long inparam, [out] unsigned long outparam, [inout] unsigned long inoutparam);
45 hyper hyperFunc( [in] hyper inparam, [out] hyper outparam, [inout] hyper inoutparam);
46 unsigned hyper uHyperFunc( [in] unsigned hyper inparam, [out] unsigned hyper outparam, [inout] unsigned hyper inoutparam);
48 float floatFunc( [in] float inparam, [out] float outparam, [inout] float inoutparam);
49 double doubleFunc( [in] double inparam, [out] double outparam, [inout] double inoutparam);
50 char charFunc( [in] char inparam, [out] char outparam, [inout] char inoutparam);
51 string stringFunc( [in] string inparam, [out] string outparam, [inout] string inoutparam);
52 byte byteFunc( [in] byte inparam, [out] byte outparam, [inout] byte inoutparam);
54 type typeFunc( [in] type inparam, [out] type outparam, [inout] type inoutparam);
55 any anyFunc( [in] any inparam, [out] any outparam, [inout] any inoutparam);
59 interface XTestComplexTypes : XBase
61 Error enumFunc( [in] Error inparam, [out] Error outparam, [inout] Error inoutparam);
63 BaseStruct structFunc( [in] ::idlc::test::BaseStruct inparam, [out] idlc::test::BaseStruct outparam, [inout] BaseStruct inoutparam);