--- 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
-