diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2006-04-06 15:22:34 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2006-04-06 15:22:34 +0000 |
commit | b208df7c33aec7d3e7f43acb9aef67077c703837 (patch) | |
tree | 9479cc9adb02d52802613038b325006d0b3a464a /sd | |
parent | f68040c697c8d49ecdeb6c017f34300b713e6fa0 (diff) |
INTEGRATION: CWS impress89 (1.10.84); FILE MERGED
2006/03/20 10:48:28 af 1.10.84.1: #132646# Using shared_ptr to slidesorter PageDescriptor.
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx b/sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx index 6870c32c7770..30f8b89accae 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx @@ -4,9 +4,9 @@ * * $RCSfile: SlsSelectionFunction.hxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: rt $ $Date: 2005-12-14 17:22:08 $ + * last change: $Author: vg $ $Date: 2006-04-06 16:22:34 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -36,6 +36,7 @@ #define SD_SLIDESORTER_SELECTION_FUNCTION_HXX #include "controller/SlsSlideFunction.hxx" +#include "model/SlsSharedPageDescriptor.hxx" #ifndef _LIST_HXX #include <tools/list.hxx> @@ -48,10 +49,6 @@ class SdSlideView; class SdDrawDocument; class Sound; -namespace sd { namespace slidesorter { namespace model { -class PageDescriptor; -} } } - namespace sd { namespace slidesorter { namespace controller { class SlideSorterController; @@ -64,7 +61,7 @@ public: static FunctionReference Create( SlideSorterController& rController, SfxRequest& rRequest ); - // Mouse- & Key-Events + // Mouse- & Key-Events virtual BOOL KeyInput(const KeyEvent& rKEvt); virtual BOOL MouseMove(const MouseEvent& rMEvt); virtual BOOL MouseButtonUp(const MouseEvent& rMEvt); @@ -137,12 +134,12 @@ private: /** Set the selection to exactly the specified page and also set it as the current page. */ - void SetCurrentPage (model::PageDescriptor& rDescriptor); + void SetCurrentPage (const model::SharedPageDescriptor& rpDescriptor); /** When the view on which this selection function is working is the main view then the view is switched to the regular editing view. */ - void SwitchView (model::PageDescriptor& rDescriptor); + void SwitchView (const model::SharedPageDescriptor& rpDescriptor); /** Make the slide nOffset slides away of the current one the new current slide. When the new index is outside the range of valid @@ -160,9 +157,9 @@ private: // ProcessMouseEvent(). /// Select the specified page and set the selection anchor. - void SelectHitPage (model::PageDescriptor& rDescriptor); + void SelectHitPage (const model::SharedPageDescriptor& rpDescriptor); /// Deselect the specified page. - void DeselectHitPage (model::PageDescriptor& rDescriptor); + void DeselectHitPage (const model::SharedPageDescriptor& rpDescriptor); /// Deselect all pages. void DeselectAllPages (void); @@ -175,7 +172,7 @@ private: /** Select all pages between and including the selection anchor and the specified page. */ - void RangeSelect (model::PageDescriptor& rDescriptor); + void RangeSelect (const model::SharedPageDescriptor& rpDescriptor); /** Start a rectangle selection at the given position. */ |