summaryrefslogtreecommitdiffstats
path: root/udkapi/com/sun/star/reflection/TypeDescriptionProvider.idl
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:06:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:06:44 +0000
commited5640d8b587fbcfed7dd7967f3de04b37a76f26 (patch)
tree7a5f7c6c9d02226d7471cb3cc8fbbf631b415303 /udkapi/com/sun/star/reflection/TypeDescriptionProvider.idl
parentInitial commit. (diff)
downloadlibreoffice-ed5640d8b587fbcfed7dd7967f3de04b37a76f26.tar.xz
libreoffice-ed5640d8b587fbcfed7dd7967f3de04b37a76f26.zip
Adding upstream version 4:7.4.7.upstream/4%7.4.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'udkapi/com/sun/star/reflection/TypeDescriptionProvider.idl')
-rw-r--r--udkapi/com/sun/star/reflection/TypeDescriptionProvider.idl79
1 files changed, 79 insertions, 0 deletions
diff --git a/udkapi/com/sun/star/reflection/TypeDescriptionProvider.idl b/udkapi/com/sun/star/reflection/TypeDescriptionProvider.idl
new file mode 100644
index 000000000..7049a4298
--- /dev/null
+++ b/udkapi/com/sun/star/reflection/TypeDescriptionProvider.idl
@@ -0,0 +1,79 @@
+/* -*- 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 .
+ */
+#ifndef __com_sun_star_reflection_TypeDescriptionProvider_idl__
+#define __com_sun_star_reflection_TypeDescriptionProvider_idl__
+
+#include <com/sun/star/container/XHierarchicalNameAccess.idl>
+#include <com/sun/star/lang/XComponent.idl>
+#include <com/sun/star/reflection/XTypeDescriptionEnumerationAccess.idl>
+
+
+ module com { module sun { module star { module reflection {
+
+
+/** This service provides type descriptions, i.e. concrete
+ service implementations read from source like the persistent registry
+ database format.<br>
+
+ This old-style service definition mostly serves documentation purposes. It
+ is not intended that an implementation of this service can be obtained at
+ the global service manager using this service identifier.
+
+ @see com::sun::star::reflection::TypeDescriptionManager
+ @see com::sun::star::reflection::XTypeDescription
+*/
+published service TypeDescriptionProvider
+{
+ /** Interface to retrieve type descriptions.
+
+ <p>Names are given in dotted notation, for example
+ <code>"com.sun.star.uno.XInterface"</code>.</p>
+
+ </p>The returned values are generally non-null references of type
+ XTypeDescription. However, before LibreOffice&nbsp;4.1,
+ the value returned for a UNO constant was the value of the constant,
+ rather than a reference to an XConstantTypeDescription
+ object. (It also appears that some implementations return values for
+ individual UNO enum members, e.g.
+ <code>"com.sun.star.uno.TypeClass.VOID"</code>, though this is probably
+ best treated as an implementation obscurity.)</p>
+ */
+ interface com::sun::star::container::XHierarchicalNameAccess;
+
+ /** Interface to signal shutdown to the provider.<br>
+ This has to be done manually, because usually each provider references
+ its manager (which may implement type caching) for late resolution of
+ partial types (e.g. parameter types).
+ */
+ interface com::sun::star::lang::XComponent;
+
+ /** Interface for creating enumerations for type descriptions supported
+ by this TypeDescriptionProvider
+
+ @since OOo 1.1.2
+ */
+ [optional] interface XTypeDescriptionEnumerationAccess;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */