featuremgmt/featuremgr/src/serverexe/featmgrfeatureregistry.cpp
branchRCL_3
changeset 21 28839de615b4
parent 10 31a8f755b7fe
child 23 26645d81f48d
equal deleted inserted replaced
18:3da531bb4329 21:28839de615b4
   267 
   267 
   268     TInt err( KErrNone );
   268     TInt err( KErrNone );
   269     
   269     
   270     if( iSWIProcessId == aPrcId && iSWICacheFeature )
   270     if( iSWIProcessId == aPrcId && iSWICacheFeature )
   271     	{
   271     	{
   272 		TBitFlags32 flags(0);
   272         TBitFlags32 flags(0);
   273     	flags.Assign( EFeatureSupported, aEnable );
   273         flags.Assign( EFeatureSupported, aEnable );
   274     	TFeatureServerEntry entry( aFeature, flags, *aData );    
   274         TUint32 data = 0;
   275 	    err = SWICacheCommand(ESWISetFeatAndData, entry);
   275         if( aData )
       
   276             {
       
   277             data = *aData;
       
   278             }
       
   279         TFeatureServerEntry entry( aFeature, flags, data );    
       
   280         err = SWICacheCommand(ESWISetFeatAndData, entry);
   276     	}
   281     	}
   277     else 
   282     else 
   278     	{
   283     	{
   279 	    TInt index;
   284 	    TInt index;
   280 	
   285