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