summaryrefslogtreecommitdiff
path: root/offapi/org
diff options
context:
space:
mode:
Diffstat (limited to 'offapi/org')
-rw-r--r--offapi/org/libreoffice/embindtest/Template.idl21
-rw-r--r--offapi/org/libreoffice/embindtest/XTest.idl2
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();