equal
deleted
inserted
replaced
2787 |
2787 |
2788 if (iIsFolderTableUpdateNeeded) |
2788 if (iIsFolderTableUpdateNeeded) |
2789 { |
2789 { |
2790 //update the folder table. |
2790 //update the folder table. |
2791 TInt entryId; |
2791 TInt entryId; |
2792 EntryIdFromFeedId(aFeedId, aFolderListId, entryId); |
2792 EntryIdFromFeedIdL(aFeedId, aFolderListId, entryId); |
2793 FolderItemUpdateL(entryId, title, KNullDesC, KAutoUpdatingOff); |
2793 FolderItemUpdateL(entryId, title, KNullDesC, KAutoUpdatingOff); |
2794 } |
2794 } |
2795 } |
2795 } |
2796 |
2796 |
2797 |
2797 |
4390 |
4390 |
4391 CleanupStack::PopAndDestroy(/* iFeedTable */); |
4391 CleanupStack::PopAndDestroy(/* iFeedTable */); |
4392 } |
4392 } |
4393 |
4393 |
4394 // ----------------------------------------------------------------------------- |
4394 // ----------------------------------------------------------------------------- |
4395 // CFeedsDatabase::FeedIdFromEntryId |
4395 // CFeedsDatabase::FeedIdFromEntryIdL |
4396 // |
4396 // |
4397 // Returns the feed id of the feed with the given entry id. |
4397 // Returns the feed id of the feed with the given entry id. |
4398 // ----------------------------------------------------------------------------- |
4398 // ----------------------------------------------------------------------------- |
4399 // |
4399 // |
4400 TBool CFeedsDatabase::FeedIdFromEntryId(const TInt& aEntryId, TInt aFolderListId, TInt& aFeedId) |
4400 TBool CFeedsDatabase::FeedIdFromEntryIdL(const TInt& aEntryId, TInt aFolderListId, TInt& aFeedId) |
4401 { |
4401 { |
4402 RDbView view; |
4402 RDbView view; |
4403 TBool found = EFalse; |
4403 TBool found = EFalse; |
4404 HBufC* query = NULL; |
4404 HBufC* query = NULL; |
4405 |
4405 |
4435 |
4435 |
4436 return found; |
4436 return found; |
4437 } |
4437 } |
4438 |
4438 |
4439 // ----------------------------------------------------------------------------- |
4439 // ----------------------------------------------------------------------------- |
4440 // CFeedsDatabase::EntryIdFromFeedId |
4440 // CFeedsDatabase::EntryIdFromFeedIdL |
4441 // |
4441 // |
4442 // Returns the feed id of the feed with the given entry id. |
4442 // Returns the feed id of the feed with the given entry id. |
4443 // ----------------------------------------------------------------------------- |
4443 // ----------------------------------------------------------------------------- |
4444 // |
4444 // |
4445 TBool CFeedsDatabase::EntryIdFromFeedId(const TInt& aFeedId, TInt aFolderListId, TInt& aEntryId) |
4445 TBool CFeedsDatabase::EntryIdFromFeedIdL(const TInt& aFeedId, TInt aFolderListId, TInt& aEntryId) |
4446 { |
4446 { |
4447 RDbView view; |
4447 RDbView view; |
4448 TBool found = EFalse; |
4448 TBool found = EFalse; |
4449 HBufC* query = NULL; |
4449 HBufC* query = NULL; |
4450 |
4450 |