diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2014-01-22 12:14:20 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-01-28 18:52:21 +0100 |
commit | dd1c991bd993c3e0edb8108474f88d94ba6bd2bc (patch) | |
tree | fbb5c434e847f12e8d1a2d1bcb52fa9bf668949b /offapi | |
parent | 3774a6fd94bfb274cc6b354ad7dadde4fce20113 (diff) |
Introduce com.sun.star.frame.theAutoRecovery singleton.
To replace com.sun.star.frame.AutoRecovery single-instance service,
incorrectly converted in 279859fdbc40f68d8f1649fa5b928d9de49e8d9e
Unfortunately needs a lot of changes in autorecovery.cxx.
Change-Id: Iba5188dffea3e03803236f23e0b3f343746ace90
Diffstat (limited to 'offapi')
-rwxr-xr-x | offapi/UnoApi_offapi.mk | 1 | ||||
-rw-r--r-- | offapi/com/sun/star/frame/AutoRecovery.idl | 3 | ||||
-rw-r--r-- | offapi/com/sun/star/frame/theAutoRecovery.idl | 28 |
3 files changed, 32 insertions, 0 deletions
diff --git a/offapi/UnoApi_offapi.mk b/offapi/UnoApi_offapi.mk index 850635aa7fb9..7702d134e4ca 100755 --- a/offapi/UnoApi_offapi.mk +++ b/offapi/UnoApi_offapi.mk @@ -200,6 +200,7 @@ $(eval $(call gb_UnoApi_add_idlfiles_nohdl,offapi,com/sun/star/frame,\ StartModule \ TaskCreator \ UICommandDescription \ + theAutoRecovery \ theGlobalEventBroadcaster \ )) $(eval $(call gb_UnoApi_add_idlfiles_nohdl,offapi,com/sun/star/graphic,\ diff --git a/offapi/com/sun/star/frame/AutoRecovery.idl b/offapi/com/sun/star/frame/AutoRecovery.idl index 10df7eb94790..7a010c915b7d 100644 --- a/offapi/com/sun/star/frame/AutoRecovery.idl +++ b/offapi/com/sun/star/frame/AutoRecovery.idl @@ -24,6 +24,9 @@ module com { module sun { module star { module frame { /** + A legacy (single-instance) service-variant of theAutoRecovery singleton. + + @deprecated Use theAutoRecovery singleton instead. @since LibreOffice 4.0 */ diff --git a/offapi/com/sun/star/frame/theAutoRecovery.idl b/offapi/com/sun/star/frame/theAutoRecovery.idl new file mode 100644 index 000000000000..622660c78061 --- /dev/null +++ b/offapi/com/sun/star/frame/theAutoRecovery.idl @@ -0,0 +1,28 @@ +/* -*- 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/. + */ +#ifndef __com_sun_star_frame_theAutoRecovery_idl__ +#define __com_sun_star_frame_theAutoRecovery_idl__ + +#include <com/sun/star/frame/XDispatch.idl> + +module com { module sun { module star { module frame { + +/** + Prior to LibreOffice 4.3, this singleton was only available as a + (single-instance) AutoRecovery service. + + @since LibreOffice 4.3 + */ +singleton theAutoRecovery : XDispatch; + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |