idlehomescreen/widgetmanager/tsrc/wmunittest/src/wmunittest_plugin.cpp
changeset 2 08c6ee43b396
parent 1 5315654608de
child 9 f966699dea19
--- a/idlehomescreen/widgetmanager/tsrc/wmunittest/src/wmunittest_plugin.cpp	Thu Jan 07 12:39:41 2010 +0200
+++ b/idlehomescreen/widgetmanager/tsrc/wmunittest/src/wmunittest_plugin.cpp	Mon Jan 18 20:10:36 2010 +0200
@@ -163,6 +163,15 @@
     return KErrNone;
     }
 
+TInt CWmUnitTest::ActiveViewL( CHsContentInfo& /*aInfo*/ )
+    {
+    return 0;
+    }
+
+TInt CWmUnitTest::ActiveAppL( CHsContentInfo& /*aInfo*/ )
+    {
+    return 0;
+    }
 
 
 // -----------------------------------------------------------------------------
@@ -201,9 +210,10 @@
         name.Format( _L("Widget_%d"), i );
         info->SetNameL( name );
         TBuf8<20> id;
-        id.Num( i );
+        id.Format( _L8("0x%x"), i );
         info->SetUidL( id );
         info->SetTypeL( _L8("template") );
+        info->SetPublisherIdL( _L("teron.pub") );
         info->SetIconPathL( _L("uid(0x2000DAD2)") );
         info->SetCanBeAdded( ETrue );
         info->SetDescriptionL(_L("Default plaa plaa plaa plaa plaa plaa plaa"));