tdf#149529 crash on deref deleted ScDocument*
[LibreOffice.git] / idlc / test / interface.idl
blob5de90a07b1696e92debd3716006819cf7228c712
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 .
20 #include <enum.idl>
21 #include <struct.idl>
23 module idlc
26 module test
29 interface XBase
31 [readonly, attribute] string description;
33 string getDescription();
36 interface XTestBaseTypes : XBase
38 void voidFunc();
40 short shortFunc( [in] short inparam, [out] short outparam, [inout] short inoutparam);
41 unsigned short uShortFunc( [in] unsigned short inparam, [out] unsigned short outparam, [inout] unsigned short inoutparam);
43 long longFunc( [in] long inparam, [out] long outparam, [inout] long inoutparam);
44 unsigned long ulongFunc( [in] unsigned long inparam, [out] unsigned long outparam, [inout] unsigned long inoutparam);
46 hyper hyperFunc( [in] hyper inparam, [out] hyper outparam, [inout] hyper inoutparam);
47 unsigned hyper uHyperFunc( [in] unsigned hyper inparam, [out] unsigned hyper outparam, [inout] unsigned hyper inoutparam);
49 float floatFunc( [in] float inparam, [out] float outparam, [inout] float inoutparam);
50 double doubleFunc( [in] double inparam, [out] double outparam, [inout] double inoutparam);
51 char charFunc( [in] char inparam, [out] char outparam, [inout] char inoutparam);
52 string stringFunc( [in] string inparam, [out] string outparam, [inout] string inoutparam);
53 byte byteFunc( [in] byte inparam, [out] byte outparam, [inout] byte inoutparam);
55 type typeFunc( [in] type inparam, [out] type outparam, [inout] type inoutparam);
56 any anyFunc( [in] any inparam, [out] any outparam, [inout] any inoutparam);
60 interface XTestComplexTypes : XBase
62 Error enumFunc( [in] Error inparam, [out] Error outparam, [inout] Error inoutparam);
64 BaseStruct structFunc( [in] ::idlc::test::BaseStruct inparam, [out] idlc::test::BaseStruct outparam, [inout] BaseStruct inoutparam);
71 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */