equal
deleted
inserted
replaced
161 TInt CWmUnitTest::ActivateAppL( CHsContentInfo& /*aInfo*/ ) |
161 TInt CWmUnitTest::ActivateAppL( CHsContentInfo& /*aInfo*/ ) |
162 { |
162 { |
163 return KErrNone; |
163 return KErrNone; |
164 } |
164 } |
165 |
165 |
|
166 TInt CWmUnitTest::ActiveViewL( CHsContentInfo& /*aInfo*/ ) |
|
167 { |
|
168 return 0; |
|
169 } |
|
170 |
|
171 TInt CWmUnitTest::ActiveAppL( CHsContentInfo& /*aInfo*/ ) |
|
172 { |
|
173 return 0; |
|
174 } |
166 |
175 |
167 |
176 |
168 // ----------------------------------------------------------------------------- |
177 // ----------------------------------------------------------------------------- |
169 // CWmUnitTest::ChangeContentL |
178 // CWmUnitTest::ChangeContentL |
170 // ----------------------------------------------------------------------------- |
179 // ----------------------------------------------------------------------------- |
199 CHsContentInfo* info = CHsContentInfo::NewLC(); |
208 CHsContentInfo* info = CHsContentInfo::NewLC(); |
200 TBuf<64> name; |
209 TBuf<64> name; |
201 name.Format( _L("Widget_%d"), i ); |
210 name.Format( _L("Widget_%d"), i ); |
202 info->SetNameL( name ); |
211 info->SetNameL( name ); |
203 TBuf8<20> id; |
212 TBuf8<20> id; |
204 id.Num( i ); |
213 id.Format( _L8("0x%x"), i ); |
205 info->SetUidL( id ); |
214 info->SetUidL( id ); |
206 info->SetTypeL( _L8("template") ); |
215 info->SetTypeL( _L8("template") ); |
|
216 info->SetPublisherIdL( _L("teron.pub") ); |
207 info->SetIconPathL( _L("uid(0x2000DAD2)") ); |
217 info->SetIconPathL( _L("uid(0x2000DAD2)") ); |
208 info->SetCanBeAdded( ETrue ); |
218 info->SetCanBeAdded( ETrue ); |
209 info->SetDescriptionL(_L("Default plaa plaa plaa plaa plaa plaa plaa")); |
219 info->SetDescriptionL(_L("Default plaa plaa plaa plaa plaa plaa plaa")); |
210 |
220 |
211 aArray.Array().AppendL( info ); |
221 aArray.Array().AppendL( info ); |