diff options
author | Stephan Bergmann <stephan.bergmann@allotropia.de> | 2024-07-30 09:13:35 +0200 |
---|---|---|
committer | Stephan Bergmann <stephan.bergmann@allotropia.de> | 2024-07-30 11:00:49 +0200 |
commit | f504bd1ac99fe9464d6a5e41febbdcab08af1c97 (patch) | |
tree | 0423ff219a3d099a6af795e4f1643d4079733d2a /offapi/org/libreoffice | |
parent | 8ab44b114c6706ab2e3d8a19884daeb544d3c2e1 (diff) |
Embind: Missing support for UNO polymorphic struct types
Change-Id: I6bb29a951e6e5a3ed7d825172ba7b92ef95a5619
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171228
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Diffstat (limited to 'offapi/org/libreoffice')
-rw-r--r-- | offapi/org/libreoffice/embindtest/Template.idl | 21 | ||||
-rw-r--r-- | offapi/org/libreoffice/embindtest/XTest.idl | 2 |
2 files changed, 23 insertions, 0 deletions
diff --git a/offapi/org/libreoffice/embindtest/Template.idl b/offapi/org/libreoffice/embindtest/Template.idl new file mode 100644 index 000000000000..73e94a491307 --- /dev/null +++ b/offapi/org/libreoffice/embindtest/Template.idl @@ -0,0 +1,21 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * 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/. + */ + +module org { module libreoffice { module embindtest { + +struct Template<T1, T2> { + T2 m1; + long m2; + T1 m3; + T2 m4; +}; + +}; }; }; + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/offapi/org/libreoffice/embindtest/XTest.idl b/offapi/org/libreoffice/embindtest/XTest.idl index 370363cf9a09..8d46c9e71d5a 100644 --- a/offapi/org/libreoffice/embindtest/XTest.idl +++ b/offapi/org/libreoffice/embindtest/XTest.idl @@ -44,6 +44,8 @@ interface XTest { boolean isStructLong([in] StructLong value); StructString getStructString(); boolean isStructString([in] StructString value); + Template<any, StructString> getTemplate(); + boolean isTemplate([in] Template<any, StructString> value); any getAnyVoid(); boolean isAnyVoid([in] any value); any getAnyBoolean(); |