diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-11-07 09:09:24 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-11-07 14:00:50 -0600 |
commit | 683758efb22d08a4cf211a6d985148f513da2a90 (patch) | |
tree | 671941907375a72a6f1dfbc420a0f2acd2a81e63 /offapi | |
parent | rebase XSlidePreviewCache (diff) | |
download | core-683758efb22d08a4cf211a6d985148f513da2a90.tar.gz core-683758efb22d08a4cf211a6d985148f513da2a90.zip |
split idl with multiple class into one idl per.
Change-Id: I9506586cf110f864a2125775a8906d5c07d9210d
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/com/sun/star/drawing/XSlidePreviewCache.idl | 35 | ||||
-rw-r--r-- | offapi/com/sun/star/drawing/XSlidePreviewCacheListener.idl | 47 |
2 files changed, 52 insertions, 30 deletions
diff --git a/offapi/com/sun/star/drawing/XSlidePreviewCache.idl b/offapi/com/sun/star/drawing/XSlidePreviewCache.idl index 8a43752bf31a..66a81e383e1d 100644 --- a/offapi/com/sun/star/drawing/XSlidePreviewCache.idl +++ b/offapi/com/sun/star/drawing/XSlidePreviewCache.idl @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * @@ -19,43 +20,15 @@ #ifndef __com_sun_star_drawing_XSlidePreviewCache_idl__ #define __com_sun_star_drawing_XSlidePreviewCache_idl__ -#ifndef __com_sun_star_container_XIndexAccess_idl__ #include <com/sun/star/container/XIndexAccess.idl> -#endif -#ifndef __com_sun_star_geometry_IntegerSize2D_idl__ #include <com/sun/star/geometry/IntegerSize2D.idl> -#endif -#ifndef __com_sun_star_lang_IllegalArgumentException_idl__ #include <com/sun/star/lang/IllegalArgumentException.idl> -#endif -#ifndef __com_sun_star_rendering_XBitmap_idl__ #include <com/sun/star/rendering/XBitmap.idl> -#endif -#ifndef __com_sun_star_rendering_XCanvas_idl__ #include <com/sun/star/rendering/XCanvas.idl> -#endif +#include <com/sun/star/drawing/XSlidePreviewCacheListener.idl> module com { module sun { module star { module drawing { -/** Listener for asynchronous preview creations. Called when a slide - preview has been created that was previously requested via a call to - <method>XSlidePreviewCache::getSlidePreview()</method>. The - implementor may then call <method>getSlidePreview()</method> a second - time to get the up-to-date version of the preview. -*/ -published interface XSlidePreviewCacheListener -{ - /** Called by a <interface>XSlidePreviewCache</interface> object when a - preview has been created for the slide with the given index. - @param nSlideIndex - The index of the slide for which a new preview has been created. - */ - void notifyPreviewCreation ([in] long nSlideIndex); -}; - - - - /** A cache of preview bitmaps for the slides of one Impress or Draw document in one size. There may be more than one cache for one document. These are internally connected and for missing previews one @@ -67,7 +40,7 @@ published interface XSlidePreviewCacheListener order to allow multiple references to a single slide (custom presentations). */ -published interface XSlidePreviewCache +interface XSlidePreviewCache { /** Set the set of slides for which the cache will provide the previews. All slides in the given XIndexAccess are required to come @@ -131,3 +104,5 @@ published interface XSlidePreviewCache }; }; }; }; // ::com::sun::star::drawing #endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/drawing/XSlidePreviewCacheListener.idl b/offapi/com/sun/star/drawing/XSlidePreviewCacheListener.idl new file mode 100644 index 000000000000..dc96b04d578b --- /dev/null +++ b/offapi/com/sun/star/drawing/XSlidePreviewCacheListener.idl @@ -0,0 +1,47 @@ +/* -*- 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_drawing_XSlidePreviewCacheListener_idl__ +#define __com_sun_star_drawing_XSlidePreviewCacheListener_idl__ + +#include <com/sun/star/uno/XInterface.idl> + +module com { module sun { module star { module drawing { + +/** Listener for asynchronous preview creations. Called when a slide + preview has been created that was previously requested via a call to + <method>XSlidePreviewCache::getSlidePreview()</method>. The + implementor may then call <method>getSlidePreview()</method> a second + time to get the up-to-date version of the preview. +*/ +interface XSlidePreviewCacheListener +{ + /** Called by a <interface>XSlidePreviewCache</interface> object when a + preview has been created for the slide with the given index. + @param nSlideIndex + The index of the slide for which a new preview has been created. + */ + void notifyPreviewCreation ([in] long nSlideIndex); +}; + +}; }; }; }; // ::com::sun::star::drawing + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |