omads/omadsappui/AspSyncUtil/src/AspSyncHandler.cpp
branchRCL_3
changeset 67 2abf74df9cdc
parent 52 4f0867e42d62
equal deleted inserted replaced
61:57a9de0b82e8 67:2abf74df9cdc
    33 #include <e32property.h>
    33 #include <e32property.h>
    34 #include "CPreSyncPlugin.h"
    34 #include "CPreSyncPlugin.h"
    35 #include "AspPreSyncPluginInterface.h"
    35 #include "AspPreSyncPluginInterface.h"
    36 
    36 
    37 #include <DataSyncInternalPSKeys.h>
    37 #include <DataSyncInternalPSKeys.h>
    38 #include <featmgr.h>
    38 
    39 
    39 
    40 /******************************************************************************
    40 /******************************************************************************
    41  * class TAspSyncParam
    41  * class TAspSyncParam
    42  ******************************************************************************/
    42  ******************************************************************************/
    43 
    43 
   888 		else if (State()->ProgressKnown())
   888 		else if (State()->ProgressKnown())
   889 			{
   889 			{
   890 			Dialog()->SetProgress(State()->Progress());
   890 			Dialog()->SetProgress(State()->Progress());
   891 			}
   891 			}
   892 			
   892 			
   893 		/* Implementation of CMCC PIM v3 begins*/
   893 		HBufC* hBuf = ResHandlerL()->ReadProgressTextLC(State()->Content(), phase);
   894 		HBufC* hBuf = NULL;
       
   895 		if ( FeatureManager::FeatureSupported(KFeatureIdFfTdCmccpimsynchronizationprogressindicatorui) )
       
   896 		    {
       
   897             // CMCC sync progress indicator enabled
       
   898             hBuf = ResHandlerL()->ReadProgressTextLC(State()->Content(), State()->Progress(), State()->TotalProgress(), phase);
       
   899             }
       
   900 		else
       
   901 		    {
       
   902             hBuf = ResHandlerL()->ReadProgressTextLC(State()->Content(), phase);
       
   903 		    }
       
   904 		/* Implementation of CMCC PIM v3 ends*/
       
   905 		
   894 		
   906 
   895 
   907 #ifdef _DEBUG
   896 #ifdef _DEBUG
   908 		TBuf<KBufSize> buf1; TBuf<KBufSize> buf2;
   897 		TBuf<KBufSize> buf1; TBuf<KBufSize> buf2;
   909 		buf1 = hBuf->Des();
   898 		buf1 = hBuf->Des();