idlehomescreen/xmluirendering/uiengine/src/xnodtparser.cpp
changeset 5 c743ef5928ba
parent 2 08c6ee43b396
child 9 f966699dea19
equal deleted inserted replaced
4:4d54b72983ae 5:c743ef5928ba
  1092             if ( parentAdapter )
  1092             if ( parentAdapter )
  1093                 {
  1093                 {
  1094                 break;
  1094                 break;
  1095                 }
  1095                 }
  1096             }
  1096             }
  1097 
       
  1098         CXnExtRenderingPluginWrapper* wrapper = 
       
  1099         	CXnExtRenderingPluginWrapper::NewL( aNode.PluginIfL(), *adapter );
       
  1100         CleanupStack::PushL( wrapper );
       
  1101 
       
  1102         parentAdapter->AppendChildL( *wrapper, aNode );
       
  1103         CleanupStack::Pop( wrapper );
       
  1104         
  1097         
  1105         component->SetControlAdapter( wrapper );
  1098         if( parentAdapter )
  1106 
  1099             {
  1107         aNode.ComponentNodeImpl()->SetComponent( component );
  1100             CXnExtRenderingPluginWrapper* wrapper = 
  1108 
  1101                 CXnExtRenderingPluginWrapper::NewL( aNode.PluginIfL(), *adapter );
  1109         component->SetNode( aNode.PluginIfL() );
  1102             CleanupStack::PushL( wrapper );
  1110 
  1103     
  1111         wrapper->SetComponent( component );
  1104             parentAdapter->AppendChildL( *wrapper, aNode );
  1112 
  1105             CleanupStack::Pop( wrapper );
  1113         wrapper->SetComponentsToInheritVisibility( ETrue );
  1106             
  1114 
  1107             component->SetControlAdapter( wrapper );
  1115         wrapper->ActivateL();
  1108     
  1116         
  1109             aNode.ComponentNodeImpl()->SetComponent( component );
  1117         CleanupStack::Pop( component );
  1110     
  1118 
  1111             component->SetNode( aNode.PluginIfL() );
  1119         return ETrue;
  1112     
       
  1113             wrapper->SetComponent( component );
       
  1114     
       
  1115             wrapper->SetComponentsToInheritVisibility( ETrue );
       
  1116     
       
  1117             wrapper->ActivateL();
       
  1118             
       
  1119             CleanupStack::Pop( component );
       
  1120     
       
  1121             return ETrue;
       
  1122             }
       
  1123         else
       
  1124             {
       
  1125             CleanupStack::Pop( component );
       
  1126             return EFalse;
       
  1127             }
  1120         }
  1128         }
  1121     else
  1129     else
  1122         {
  1130         {
  1123         return EFalse;
  1131         return EFalse;
  1124         }
  1132         }