/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ module test { enum TestEnum { TEST, ONE, TWO, CHECK, LOLA, PALOO, ZA }; /** * simple c++ types */ struct TestSimple { boolean Bool; char Char; byte Byte; short Short; unsigned short UShort; long Long; unsigned long ULong; hyper Hyper; unsigned hyper UHyper; float Float; double Double; test::TestEnum Enum; }; /** * complex c++ types */ struct TestElement : test::TestSimple { string String; com::sun::star::uno::XInterface Interface; any Any; }; struct TestDataElements : test::TestElement { sequence Sequence; }; typedef TestDataElements TestData; /** Monster test interface to test language binding calls. */ interface XLBTestBase : com::sun::star::uno::XInterface { /** * in parameter test, tests by calls reference also (complex types) */ void setValues( [in] boolean bBool, [in] char cChar, [in] byte nByte, [in] short nShort, [in] unsigned short nUShort, [in] long nLong, [in] unsigned long nULong, [in] hyper nHyper, [in] unsigned hyper nUHyper, [in] float fFloat, [in] double fDouble, [in] test::TestEnum eEnum, [in] string aString, [in] com::sun::star::uno::XInterface xInterface, [in] any aAny, [in] sequence aSequence, [in] test::TestData aStruct ); /** * inout parameter test */ test::TestData setValues2( [inout] boolean bBool, [inout] char cChar, [inout] byte nByte, [inout] short nShort, [inout] unsigned short nUShort, [inout] long nLong, [inout] unsigned long nULong, [inout] hyper nHyper, [inout] unsigned hyper nUHyper, [inout] float fFloat, [inout] double fDouble, [inout] test::TestEnum eEnum, [inout] string aString, [inout] com::sun::star::uno::XInterface xInterface, [inout] any aAny, [inout] sequence aSequence, [inout] test::TestData aStruct ); /** * out parameter test */ test::TestData getValues( [out] boolean bBool, [out] char cChar, [out] byte nByte, [out] short nShort, [out] unsigned short nUShort, [out] long nLong, [out] unsigned long nULong, [out] hyper nHyper, [out] unsigned hyper nUHyper, [out] float fFloat, [out] double fDouble, [out] test::TestEnum eEnum, [out] string aString, [out] com::sun::star::uno::XInterface xInterface, [out] any aAny, [out] sequence aSequence, [out] test::TestData aStruct ); [attribute] boolean Bool; [attribute] byte Byte; [attribute] char Char; [attribute] short Short; [attribute] unsigned short UShort; [attribute] long Long; [attribute] unsigned long ULong; [attribute] hyper Hyper; [attribute] unsigned hyper UHyper; [attribute] float Float; [attribute] double Double; [attribute] test::TestEnum Enum; [attribute] string String; [attribute] com::sun::star::uno::XInterface Interface; [attribute] any Any; [attribute] sequence Sequence; [attribute] test::TestData Struct; }; /** Inheriting from monster; adds raiseException(). */ interface XLanguageBindingTest : test::XLBTestBase { /** * params are there only for dummy, to test if all temp out params will be released. */ test::TestData raiseException( [out] boolean bBool, [out] char cChar, [out] byte nByte, [out] short nShort, [out] unsigned short nUShort, [out] long nLong, [out] unsigned long nULong, [out] hyper nHyper, [out] unsigned hyper nUHyper, [out] float fFloat, [out] double fDouble, [out] test::TestEnum eEnum, [out] string aString, [out] com::sun::star::uno::XInterface xInterface, [out] any aAny, [out] sequence aSequence, [out] test::TestData aStruct ) raises( com::sun::star::lang::IllegalArgumentException ); /** * raises runtime exception */ [attribute] long RuntimeException; }; }; // test /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /lhm/libreoffice-6-1+backports LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/solenv
AgeCommit message (Expand)Author
2022-06-16drop special case for win 64bit download name, use x86-64 consistentlyChristian Lohmaier
2022-06-16fix download-filename for Windows aarch64 buildsChristian Lohmaier
2022-06-15fix oss-fuzz buildCaolán McNamara
2022-06-14liblo-native-code: Add LanguageToolGrammarCheckerMichael Weghorn
2022-06-13loplugin:mergeclasses sd::TitledDockingWindow with sd::PaneDockingWindowNoel Grandin
2022-06-11[API CHANGE] Deprecate css.registry.XSimpleRegistry::mergeKeyStephan Bergmann
2022-06-10[API CHANGE] Remove deprecated idlc and regmerge from the SDKStephan Bergmann
2022-06-10new loplugin:moveitNoel Grandin
2022-06-08drop two unused suppressionsCaolán McNamara
2022-06-08VCL add vcl::WindowPosSize abstract classJan-Marek Glogowski
2022-06-08it is not our job to tell GCC whether to colorize its outputLuboš Luňák
2022-06-07Resolves tdf#146928 - Redesign charnamedialogHeiko Tietze
2022-05-26use at least assertions mode if libc++ debug mode is not usableLuboš Luňák
2022-05-25Advanced Diagram support: Isolated IDiagramHelper, selection visualizationArmin Le Grand (Allotropia)
2022-05-23instantiate Title directly in chartNoel Grandin
2022-05-22Get make_installer calls to run in parallelThorsten Behrens
2022-05-21drop unused hxx filesCaolán McNamara
2022-05-20new loplugin:unnecessary lockingNoel Grandin
2022-05-19add a static role to minlenft messageCaolán McNamara
2022-05-18tdf#149106 Remove RenamePrgFolder and RemovePrgFolder custom msi actionsSamuel Mehrbrodt
2022-05-18Adapt flatpak build to recently introduced dependenciesStephan Bergmann
2022-05-16enable libc++ debug mode again if availableLuboš Luňák
2022-05-13officecfg,stoc: allow running JVM UNO components out-of-processMichael Stahl
2022-05-12Create a visualizer for OUStringLiteralMike Kaganski
2022-05-09remove HAVE_LIBCPP_DEBUG (libc++ debug mode)Luboš Luňák
2022-05-04Drop --with-iwyu optionGabor Kelemen
2022-05-03Resolves tdf#148568 - Rework the Sparklines dialogHeiko Tietze
2022-05-03Keep passing LDFLAGS into external proejct buildsStephan Bergmann
2022-05-01improve support for using libc++ on Linux and for libc++ debug modeLuboš Luňák
2022-05-01try to use also proper debug LDFLAGS for externals librariesLuboš Luňák
2022-04-30new loplugin:stringviewdangleNoel Grandin
2022-04-29gbuild: Drop obsolete checks for make version 3.81Michael Weghorn
2022-04-27tdf#126658 UI improvements to Arrow Styles tab in Line dialogSeth Chaiklin
2022-04-26natvis: some extra patterns for SvRefs<...> and writerfilterVasily Melenchuk
2022-04-22move query-related iterators to a new separate fileLuboš Luňák
2022-04-19new loplugin:stringviewvar looks for OUString vars that can beNoel Grandin
2022-04-13tdf#148553 liblo-native-code: Add services for numeric controlsMichael Weghorn
2022-04-12use gb_DEBUGINFO_FLAGS consistently in gbuild ExternalProject'sLuboš Luňák
2022-04-12Delete tempfile when doneStephan Bergmann
2022-04-06Sync flatpak-manifest.in with FlathubStephan Bergmann
2022-03-31Sync flatpak-manifest.in with FlathubStephan Bergmann
2022-03-30WASM fix native EH build since Emscripten 3.1.6Jan-Marek Glogowski
2022-03-28Advanced Diagram support: Move data classes to svxArmin Le Grand (Allotropia)
2022-03-28Drop support for OpenGL denylist on X11Stephan Bergmann
2022-03-19reduce down to the part and config we are using and move to toolsCaolán McNamara
2022-03-16Fix loplugin:trivialconstructor handling of ctor templatesStephan Bergmann
2022-03-15loplugin:trivialdestructor: Only warn about definitionsStephan Bergmann