homescreensrv_plat/sapi_homescreenplugin/src/hspsconfigurationif.cpp
branchRCL_3
changeset 12 502e5d91ad42
parent 4 1a2a00e78665
child 14 15e4dd19031c
equal deleted inserted replaced
11:bd874ee5e5e2 12:502e5d91ad42
  1129     
  1129     
  1130     if ( inParam )
  1130     if ( inParam )
  1131         {
  1131         {
  1132         inParamVariant = inParam->Value();
  1132         inParamVariant = inParam->Value();
  1133         pluginId.Set( inParamVariant.AsData() );
  1133         pluginId.Set( inParamVariant.AsData() );
  1134         // Check that plugin node exists
       
  1135         ChspsDomNode* node = &( CHspsLiwUtilities::FindRootNodeByIdentifierL( 
       
  1136             KPluginElement,
       
  1137             pluginId,
       
  1138             *( iHspsConfigurationService->GetDOML().RootNode() ) ) );
       
  1139         if ( !node )
       
  1140             {
       
  1141             User::Leave( KErrNotFound );
       
  1142             }
       
  1143         }
  1134         }
  1144     else
  1135     else
  1145         {
  1136         {
  1146         // Manadatory plugin id parameter missing
  1137         // Manadatory plugin id parameter missing
  1147         User::Leave( KErrArgument );
  1138         User::Leave( KErrArgument );