xref: /trunk/main/sd/inc/animations.hxx (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
1*cdf0e10cSrcweir #ifndef _SD_ANIMATIONS_HXX_
2*cdf0e10cSrcweir #define _SD_ANIMATIONS_HXX_
3*cdf0e10cSrcweir 
4*cdf0e10cSrcweir #include <sddllapi.h>
5*cdf0e10cSrcweir 
6*cdf0e10cSrcweir namespace sd
7*cdf0e10cSrcweir {
8*cdf0e10cSrcweir 
9*cdf0e10cSrcweir /** stores the link between an after effect node and its master for later insertion
10*cdf0e10cSrcweir     into the timing hierarchie
11*cdf0e10cSrcweir */
12*cdf0e10cSrcweir struct AfterEffectNode
13*cdf0e10cSrcweir {
14*cdf0e10cSrcweir     ::com::sun::star::uno::Reference< ::com::sun::star::animations::XAnimationNode > mxNode;
15*cdf0e10cSrcweir     ::com::sun::star::uno::Reference< ::com::sun::star::animations::XAnimationNode > mxMaster;
16*cdf0e10cSrcweir     bool mbOnNextEffect;
17*cdf0e10cSrcweir 
18*cdf0e10cSrcweir     AfterEffectNode( const ::com::sun::star::uno::Reference< ::com::sun::star::animations::XAnimationNode >& xNode, const ::com::sun::star::uno::Reference< ::com::sun::star::animations::XAnimationNode >& xMaster, bool bOnNextEffect )
19*cdf0e10cSrcweir         : mxNode( xNode ), mxMaster( xMaster ), mbOnNextEffect( bOnNextEffect ) {}
20*cdf0e10cSrcweir };
21*cdf0e10cSrcweir 
22*cdf0e10cSrcweir typedef std::list< AfterEffectNode > AfterEffectNodeList;
23*cdf0e10cSrcweir 
24*cdf0e10cSrcweir /** inserts the animation node in the given AfterEffectNode at the correct position
25*cdf0e10cSrcweir     in the timing hierarchie of its master */
26*cdf0e10cSrcweir SD_DLLPUBLIC void stl_process_after_effect_node_func(AfterEffectNode& rNode);
27*cdf0e10cSrcweir 
28*cdf0e10cSrcweir } // namespace sd;
29*cdf0e10cSrcweir 
30*cdf0e10cSrcweir #endif
31