summaryrefslogtreecommitdiff
path: root/sd/source/ui/inc/DrawViewShell.hxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-11-17 14:14:20 +0000
committerOliver Bolte <obo@openoffice.org>2004-11-17 14:14:20 +0000
commit4d007f35cee2ef824d08530d02a62b31dfb70d72 (patch)
tree07e18fa7ca48947cf9e5ead4229379c4ff3cd8e6 /sd/source/ui/inc/DrawViewShell.hxx
parent87cd4cb891f8ee9c57bf100dd5097dd56542aa91 (diff)
INTEGRATION: CWS fwkp2fix02 (1.9.42); FILE MERGED
2004/11/03 16:19:34 mba 1.9.42.1: #i36146#: fixed closing of presentation frame
Diffstat (limited to 'sd/source/ui/inc/DrawViewShell.hxx')
-rw-r--r--sd/source/ui/inc/DrawViewShell.hxx20
1 files changed, 18 insertions, 2 deletions
diff --git a/sd/source/ui/inc/DrawViewShell.hxx b/sd/source/ui/inc/DrawViewShell.hxx
index 7a1d48b38242..cdaf90c46ef0 100644
--- a/sd/source/ui/inc/DrawViewShell.hxx
+++ b/sd/source/ui/inc/DrawViewShell.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: DrawViewShell.hxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: hr $ $Date: 2004-10-12 13:11:11 $
+ * last change: $Author: obo $ $Date: 2004-11-17 15:14:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -497,6 +497,22 @@ private:
BOOL bPastePossible;
virtual void Notify (SfxBroadcaster& rBC, const SfxHint& rHint);
+
+ /** Stop a running slide show. The frame the show is running in is
+ destroyed if
+ a) it is running in its own frame, i.e. is a full screen show and
+ b) the given flag bCloseFrame is true.
+ @param bCloseFrame
+ Be carefull with this flag when stopping a full screen show.
+ When called from the destructor the flag has to be <FALSE/> or
+ otherwise we run into a loop of calls to destructors of the view
+ and the frame.
+ When called from other places the flag should be <TRUE/> so that
+ not an empty frame remains. When called with <TRUE/> it is the
+ responsibility of the caller to avoid an illegal reentrant
+ call.
+ */
+ void StopSlideShow (bool bCloseFrame);
};