contentmgmt/cafstreamingsupport/test/tscaf/source/tscafstep.cpp
changeset 66 8873e6835f7b
parent 56 c11c717470d0
child 96 a71299154b21
--- a/contentmgmt/cafstreamingsupport/test/tscaf/source/tscafstep.cpp	Fri May 14 17:39:00 2010 +0300
+++ b/contentmgmt/cafstreamingsupport/test/tscaf/source/tscafstep.cpp	Thu May 27 14:32:46 2010 +0300
@@ -16,10 +16,8 @@
 //
 
 #include "tscafstep.h"
-#ifdef INTERNALLY_ENABLE_UPWARD_DEPENDENCY
-#include <sdpconnectionfield.h>
-#include <sdporiginfield.h>
-#endif
+#include "sdpconnectionfield.h"
+#include "sdporiginfield.h"
 
 TSdpAttribute::TSdpAttribute()
 	{
@@ -121,7 +119,6 @@
 	return TestStepResult();
 	}
 
-#ifdef INTERNALLY_ENABLE_UPWARD_DEPENDENCY
 // We need this dummy function because TCleanupItem c'tor (see below) does not accept functions without parameters
 void CloseSdpCodecPool(TAny *)
 	{
@@ -274,7 +271,6 @@
 	
 	return sdp;
 	}
-#endif
 
 CKeyStreamSink* CScafStep::CreateKeyStreamSinkLC(const TDesC& aFileName, const TDesC& aPrivPath)
 /**
@@ -316,12 +312,8 @@
  	@param aSdp The SDP object which will be deleted.
  */
 	{
-#ifdef INTERNALLY_ENABLE_UPWARD_DEPENDENCY
 	delete reinterpret_cast<CSdpDocument *>(aSdpDoc);
 	SdpCodecStringPool::Close();
-#else
-	(void) aSdpDoc;
-#endif
 	}
 
 void CScafStep::CopyFile2AgentsPrivateFolderL(RFs& aFs, const TDesC& aFileName, const TDesC& aPrivPath)
@@ -356,7 +348,6 @@
 	CleanupStack::PopAndDestroy(2, fTarget);
 	}
 
-#ifdef INTERNALLY_ENABLE_UPWARD_DEPENDENCY
 void CScafStep::AddAttributes2SdpL(CSdpMediaField& aSdp, TInt aSdpNum)
 /**
  * Add attributes from the instance within the CSdpConfiguration array, where 
@@ -404,7 +395,6 @@
 		CleanupStack::PopAndDestroy(3);
 		}//for
 	}//End of function
-#endif
 
 void CScafStep::PrintErrorAndLeaveL(TDesC& aKey)
 /**