summaryrefslogtreecommitdiff
path: root/slideshow/source/inc/unoview.hxx
diff options
context:
space:
mode:
authorAndre Fischer <af@openoffice.org>2009-03-24 13:53:29 +0000
committerAndre Fischer <af@openoffice.org>2009-03-24 13:53:29 +0000
commit3444422cc1fd774961c43d5699a15f4e4b13d6d1 (patch)
tree63cdfa6555fd2209fcd24d77ee5604e491c5c62d /slideshow/source/inc/unoview.hxx
parentbf91a397c0a89521727789efa0c8f64811b91872 (diff)
#i98806# Added IsSoundEnabled property to mute sound in some slide show views.
Diffstat (limited to 'slideshow/source/inc/unoview.hxx')
-rw-r--r--slideshow/source/inc/unoview.hxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/slideshow/source/inc/unoview.hxx b/slideshow/source/inc/unoview.hxx
index 471cdae98a70..6dfc99da5a65 100644
--- a/slideshow/source/inc/unoview.hxx
+++ b/slideshow/source/inc/unoview.hxx
@@ -68,6 +68,16 @@ namespace slideshow
with a different calling convention under Windows).
*/
virtual void _dispose() = 0;
+
+ /** Return whether the sound play back is enabled.
+ */
+ virtual bool isSoundEnabled (void) const = 0;
+
+ /** Tell the view whether it may play sounds. Disabling this
+ can be used to prevent different views to play the same
+ sounds at the same time.
+ */
+ virtual void setIsSoundEnabled (const bool bValue) = 0;
};
typedef ::boost::shared_ptr< UnoView > UnoViewSharedPtr;