backupandrestore/backupengine/src/sbedataowner.cpp
changeset 29 3ae5cb0b4c02
parent 0 d0791faffa3f
child 47 63cf70d3ecd8
--- a/backupandrestore/backupengine/src/sbedataowner.cpp	Mon May 03 13:19:02 2010 +0300
+++ b/backupandrestore/backupengine/src/sbedataowner.cpp	Fri Jun 25 16:54:01 2010 +0800
@@ -25,7 +25,7 @@
 #include "sbtypes.h"
 #include "sblog.h"
 #include "sbeparserdefs.h"
-#include <connect/panic.h>
+#include "sbepanic.h"
 
 namespace conn
 	{	
@@ -3553,6 +3553,17 @@
 					iActiveInformation.iActiveType = EProxyImpOnly;
 					}
 				}
+			else if(!localName.CompareF(KCallbackDelayTime))
+				{
+				const TDesC8& value = aAttributes[x].Value().DesC();
+				TInt timeValue = 0;
+				TLex8 lex(value);
+				TInt err = lex.Val(timeValue);
+				if( err == KErrNone && timeValue > 0)
+					iActiveInformation.iCallbackDelayTime = TTimeIntervalMicroSeconds32(timeValue);
+				else
+					iActiveInformation.iCallbackDelayTime = KABCallbackDefaultTimeout;
+				}
 			} // for x
 		
 		return KErrNone;