summaryrefslogtreecommitdiff
path: root/slideshow/source/engine/animationnodes/animationaudionode.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow/source/engine/animationnodes/animationaudionode.hxx')
-rw-r--r--slideshow/source/engine/animationnodes/animationaudionode.hxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/slideshow/source/engine/animationnodes/animationaudionode.hxx b/slideshow/source/engine/animationnodes/animationaudionode.hxx
index ab2877a99784..35397557d0e2 100644
--- a/slideshow/source/engine/animationnodes/animationaudionode.hxx
+++ b/slideshow/source/engine/animationnodes/animationaudionode.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -37,7 +37,7 @@ namespace slideshow {
namespace internal {
/** Audio node.
-
+
This animation node contains an audio effect. Duration and
start/stop behaviour is affected by the referenced audio
file.
@@ -47,27 +47,27 @@ class AnimationAudioNode : public BaseNode, public AnimationEventHandler
public:
AnimationAudioNode(
::com::sun::star::uno::Reference<
- ::com::sun::star::animations::XAnimationNode> const& xNode,
+ ::com::sun::star::animations::XAnimationNode> const& xNode,
::boost::shared_ptr<BaseContainerNode> const& pParent,
NodeContext const& rContext );
-
+
protected:
virtual void dispose();
-
+
private:
virtual void activate_st();
virtual void deactivate_st( NodeState eDestState );
virtual bool hasPendingAnimation() const;
-
+
/// overriden, because we need to deal with STOPAUDIO commands
virtual bool handleAnimationEvent( const AnimationNodeSharedPtr& rNode );
-
+
private:
- ::com::sun::star::uno::Reference<
+ ::com::sun::star::uno::Reference<
::com::sun::star::animations::XAudio > mxAudioNode;
::rtl::OUString maSoundURL;
mutable SoundPlayerSharedPtr mpPlayer;
-
+
void createPlayer() const;
void resetPlayer() const;
};