equal
deleted
inserted
replaced
183 const RPointerArray<CAfTask> &table(observers.StorageData()); |
183 const RPointerArray<CAfTask> &table(observers.StorageData()); |
184 for (TInt iter(table.Count() - 1); 0 <= iter; --iter) { |
184 for (TInt iter(table.Count() - 1); 0 <= iter; --iter) { |
185 table[iter]->BroadcastReceivedL(msg); |
185 table[iter]->BroadcastReceivedL(msg); |
186 } |
186 } |
187 } |
187 } |
188 |
|
189 // ----------------------------------------------------------------------------- |
|
190 // |
|
191 // ----------------------------------------------------------------------------- |
|
192 // |
|
193 void AfStorageSyncTask::CreateThumbnailL(const TDesC &path, TInt hdl) |
|
194 { |
|
195 if (0 >= hdl) { |
|
196 User::Leave(KErrCorrupt); |
|
197 } |
|
198 CFbsBitmap *bitmap = new (ELeave) CFbsBitmap; |
|
199 CleanupStack::PushL(bitmap); |
|
200 User::LeaveIfError(bitmap->Duplicate(hdl)); |
|
201 User::LeaveIfError(bitmap->Save(path)); |
|
202 CleanupStack::PopAndDestroy(bitmap); |
|
203 } |
|