breakdeps/SVGDocumentImpl.cpp
changeset 54 dcd1a22c2899
parent 50 c0380e36a50a
child 56 865fbeda552a
--- a/breakdeps/SVGDocumentImpl.cpp	Fri Oct 15 14:34:27 2010 +0100
+++ b/breakdeps/SVGDocumentImpl.cpp	Fri Oct 15 14:46:27 2010 +0100
@@ -61,7 +61,7 @@
 #include "SVGDiscardElementImpl.h"
 #include "SVGScriptElementImpl.h"
 
-//#include "SVGAudioElementImpl.h"
+#include "SVGAudioElementImpl.h"
 
 //#ifdef RD_SVGT_MEDIAANIMATION_SUPPORT
 #include "SVGMediaAnimationElementImpl.h"
@@ -515,14 +515,13 @@
 #else
             return ( MXmlElement * ) CSvgGElementImpl::NewL( _L( "g" )(TUint8) position, this );
 #endif
-#if 0
+
         case KSvgAudioElement:
             {
             CSvgAudioElementImpl* lAudioElement = CSvgAudioElementImpl::NewL( (TUint8) position, this );
             iSvgAnimations.Append(lAudioElement);
             return ( MXmlElement * ) lAudioElement;
             }
-#endif
 //#ifdef RD_SVGT_MEDIAANIMATION_SUPPORT
         case KSvgMediaAnimationElement:
             {
@@ -1276,7 +1275,8 @@
 	    }
 	
 	// Add only media elements, currently animation and audio
-	if ( aRoot->ElemID() == KSvgMediaAnimationElement )	
+	if ( aRoot->ElemID() == KSvgMediaAnimationElement || 
+	    aRoot->ElemID() == KSvgAudioElement )	
 	    {
 	    aPostOrderList.Append( aRoot );	    
 	    }