diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-11-26 19:14:32 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-11-26 19:14:32 +0000 |
commit | 0af338d833f91c530d3bfe6439888b3ab8075273 (patch) | |
tree | feb160b3006ee89360845b97bec54c0139012a93 /sd/source/ui/inc/SlideSorterViewShell.hxx | |
parent | 7528e3867480a04257bf1644ff122b1376fd0b22 (diff) |
INTEGRATION: CWS presentationengine01 (1.2.12); FILE MERGED
2004/09/29 16:37:52 af 1.2.12.1: #i34804# Added methods for adding and removing selection change listeners.
Diffstat (limited to 'sd/source/ui/inc/SlideSorterViewShell.hxx')
-rw-r--r-- | sd/source/ui/inc/SlideSorterViewShell.hxx | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/sd/source/ui/inc/SlideSorterViewShell.hxx b/sd/source/ui/inc/SlideSorterViewShell.hxx index 81a8edc0a941..56bb03621fb1 100644 --- a/sd/source/ui/inc/SlideSorterViewShell.hxx +++ b/sd/source/ui/inc/SlideSorterViewShell.hxx @@ -2,9 +2,9 @@ * * $RCSfile: SlideSorterViewShell.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: rt $ $Date: 2004-07-13 14:01:35 $ + * last change: $Author: rt $ $Date: 2004-11-26 20:14:31 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -218,6 +218,23 @@ public: */ void GetSelectedPages (::std::vector<SdPage*>& pPageContainer); + /** Add a listener that is called when the selection of the slide sorter + changes. + @param rListener + When this method is called multiple times for the same listener + the second and all following calls are ignored. Each listener + is added only once. + */ + void AddSelectionChangeListener (const Link& rListener); + + /** Remove a listener that was called when the selection of the slide + sorter changes. + @param rListener + It is save to pass a listener that was not added are has been + removed previously. Such calls are ignored. + */ + void RemoveSelectionChangeListener (const Link& rListener); + virtual DrawController* GetController (void); protected: |