--- a/omads/omadsappui/AspSyncUtil/src/AspSyncHandler.cpp Thu Jul 15 18:23:06 2010 +0300
+++ b/omads/omadsappui/AspSyncUtil/src/AspSyncHandler.cpp Thu Aug 19 09:41:17 2010 +0300
@@ -35,7 +35,7 @@
#include "AspPreSyncPluginInterface.h"
#include <DataSyncInternalPSKeys.h>
-
+#include <featmgr.h>
/******************************************************************************
* class TAspSyncParam
@@ -890,7 +890,18 @@
Dialog()->SetProgress(State()->Progress());
}
- HBufC* hBuf = ResHandlerL()->ReadProgressTextLC(State()->Content(), phase);
+ /* Implementation of CMCC PIM v3 begins*/
+ HBufC* hBuf = NULL;
+ if ( FeatureManager::FeatureSupported(KFeatureIdFfTdCmccpimsynchronizationprogressindicatorui) )
+ {
+ // CMCC sync progress indicator enabled
+ hBuf = ResHandlerL()->ReadProgressTextLC(State()->Content(), State()->Progress(), State()->TotalProgress(), phase);
+ }
+ else
+ {
+ hBuf = ResHandlerL()->ReadProgressTextLC(State()->Content(), phase);
+ }
+ /* Implementation of CMCC PIM v3 ends*/
#ifdef _DEBUG