summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@collabora.com>2014-01-29 14:23:52 +0100
committerMatúš Kukan <matus.kukan@collabora.com>2014-01-30 10:48:24 +0100
commitb3856b0e096cb5d791fbe8a7d5b6c0319ab546bb (patch)
tree1ebd46b449e0da8953ff9b8c0a0975febd9ba2a5 /offapi
parent823c2b18f14c0fdd817b62e95b13f1c7e0d38a9d (diff)
Introduce com.sun.star.ui.theWindowContentFactoryManager singleton.
Change-Id: If979db945b2f5e50e146fdadafd1559530c50122
Diffstat (limited to 'offapi')
-rwxr-xr-xoffapi/UnoApi_offapi.mk1
-rw-r--r--offapi/com/sun/star/ui/WindowContentFactoryManager.idl6
-rw-r--r--offapi/com/sun/star/ui/theWindowContentFactoryManager.idl41
3 files changed, 46 insertions, 2 deletions
diff --git a/offapi/UnoApi_offapi.mk b/offapi/UnoApi_offapi.mk
index 0314edb040d2..9df3d699f801 100755
--- a/offapi/UnoApi_offapi.mk
+++ b/offapi/UnoApi_offapi.mk
@@ -427,6 +427,7 @@ $(eval $(call gb_UnoApi_add_idlfiles_nohdl,offapi,com/sun/star/ui,\
WindowStateConfiguration \
theUICategoryDescription \
theUIElementFactoryManager \
+ theWindowContentFactoryManager \
))
$(eval $(call gb_UnoApi_add_idlfiles_nohdl,offapi,com/sun/star/ui/dialogs,\
AddressBookSourcePilot \
diff --git a/offapi/com/sun/star/ui/WindowContentFactoryManager.idl b/offapi/com/sun/star/ui/WindowContentFactoryManager.idl
index 95ea4ce47e36..bddb5a7f96c5 100644
--- a/offapi/com/sun/star/ui/WindowContentFactoryManager.idl
+++ b/offapi/com/sun/star/ui/WindowContentFactoryManager.idl
@@ -26,9 +26,11 @@ module com { module sun { module star { module ui {
/**
- This interface could be imcomplete since I derived it from it's sole place of use.
+ A legacy (single-instance) service-variant of theWindowContentFactoryManager singleton.
- @since LibreOffice 4.1
+ @deprecated Use theWindowContentFactoryManager singleton instead.
+
+ @since LibreOffice 4.1
*/
service WindowContentFactoryManager : com::sun::star::lang::XSingleComponentFactory;
diff --git a/offapi/com/sun/star/ui/theWindowContentFactoryManager.idl b/offapi/com/sun/star/ui/theWindowContentFactoryManager.idl
new file mode 100644
index 000000000000..79b934642c99
--- /dev/null
+++ b/offapi/com/sun/star/ui/theWindowContentFactoryManager.idl
@@ -0,0 +1,41 @@
+/* -*- 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_ui_theWindowContentFactoryManager_idl__
+#define __com_sun_star_ui_theWindowContentFactoryManager_idl__
+
+#include <com/sun/star/lang/XSingleComponentFactory.idl>
+
+
+module com { module sun { module star { module ui {
+
+
+/**
+ This interface could be imcomplete since I derived it from it's sole place of use.
+
+ Prior to LibreOffice 4.3, this singleton was only available as a
+ (single-instance) WindowContentFactoryManager service.
+
+ @since LibreOffice 4.3
+*/
+singleton theWindowContentFactoryManager : com::sun::star::lang::XSingleComponentFactory;
+
+}; }; }; };
+
+#endif
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */