webengine/wrtharvester/src/wrtharvesterregistryaccess.cpp
branchRCL_3
changeset 93 79859ed3eea9
parent 92 e1bea15f9a39
child 94 919f36ff910f
--- a/webengine/wrtharvester/src/wrtharvesterregistryaccess.cpp	Thu Aug 19 10:58:56 2010 +0300
+++ b/webengine/wrtharvester/src/wrtharvesterregistryaccess.cpp	Tue Aug 31 16:17:46 2010 +0300
@@ -61,18 +61,13 @@
         {
         CWidgetInfo* widgetInfo( widgetInfoArr[i] );
         
-
-        if ( SupportsMiniviewL( session, widgetInfo->iUid ) &&
-        	   IsNokiaWidget( session, widgetInfo->iUid ))
+        if ( SupportsMiniviewL( session, widgetInfo->iUid ) )
             {
             CWrtInfo* info = new CWrtInfo();
-            CleanupStack::PushL(info);
             info->iUid = widgetInfo->iUid;
             info->iBundleId = WidgetPropertyL( session, widgetInfo->iUid, EBundleIdentifier );
             info->iDisplayName = WidgetPropertyL( session, widgetInfo->iUid, EBundleDisplayName );
-            info->iType = KS60Widget;
             aWidgetInfoArray.AppendL( info );
-            CleanupStack::Pop(info);
             }
         }
     CleanupStack::PopAndDestroy( &session );
@@ -99,25 +94,6 @@
     }
     
 // ---------------------------------------------------------------------------
-// Check if it is wgz widget  .
-// ---------------------------------------------------------------------------
-//
-TBool WrtHarvesterRegistryAccess::IsNokiaWidget( 
-    RWidgetRegistryClientSession& aSession,
-    const TUid& aUid )
-    {
-    TBool res( EFalse );
-    
-    CWidgetPropertyValue* value( NULL );
-    value = aSession.GetWidgetPropertyValueL( aUid, ENokiaWidget );
-    
-    res = value && ( *value == 0 || *value == 1 );
-    
-    delete value;
-    return res;
-    }
-    
-// ---------------------------------------------------------------------------
 // Get the widget property as string.
 // ---------------------------------------------------------------------------
 //
@@ -137,4 +113,3 @@
     
  //  End of File
 
-