equal
deleted
inserted
replaced
76 IMPORT_C void AddObserver(MFeedEngineObserver *observer); |
76 IMPORT_C void AddObserver(MFeedEngineObserver *observer); |
77 IMPORT_C void RemoveObserver(MFeedEngineObserver *observer); |
77 IMPORT_C void RemoveObserver(MFeedEngineObserver *observer); |
78 |
78 |
79 void RunFeedTimer(); |
79 void RunFeedTimer(); |
80 |
80 |
81 IMPORT_C void UpdateFeed(CFeedInfo *aItem); |
81 IMPORT_C void UpdateFeedL(CFeedInfo *aItem); |
82 /** |
82 /** |
83 * Returns the current internal state of the feed engine4 |
83 * Returns the current internal state of the feed engine4 |
84 */ |
84 */ |
85 IMPORT_C TClientState ClientState(); |
85 IMPORT_C TClientState ClientState(); |
86 |
86 |
92 |
92 |
93 IMPORT_C void SearchForFeedL(TDesC& aSearchString); |
93 IMPORT_C void SearchForFeedL(TDesC& aSearchString); |
94 IMPORT_C void AddSearchResultL(CFeedInfo *item); |
94 IMPORT_C void AddSearchResultL(CFeedInfo *item); |
95 IMPORT_C const RFeedInfoArray& GetSearchResults(); |
95 IMPORT_C const RFeedInfoArray& GetSearchResults(); |
96 |
96 |
97 IMPORT_C void OpmlParsingComplete(TInt aError, TUint aNumFeedsAdded); |
97 IMPORT_C void OpmlParsingCompleteL(TInt aError, TUint aNumFeedsAdded); |
98 protected: |
98 protected: |
99 |
99 |
100 static TInt CompareFeedsByTitle(const CFeedInfo &a, const CFeedInfo &b); |
100 static TInt CompareFeedsByTitle(const CFeedInfo &a, const CFeedInfo &b); |
101 |
101 |
102 private: |
102 private: |
115 void ParsingCompleteL(CFeedInfo *aItem); |
115 void ParsingCompleteL(CFeedInfo *aItem); |
116 |
116 |
117 void GetFeedImageL(CFeedInfo *aFeedInfo); |
117 void GetFeedImageL(CFeedInfo *aFeedInfo); |
118 |
118 |
119 void UpdateNextFeedL(); |
119 void UpdateNextFeedL(); |
120 void NotifyFeedUpdateComplete(TInt aError); |
120 void NotifyFeedUpdateCompleteL(TInt aError); |
121 void NotifyOpmlParsingComplete(TInt aError, TUint aNumFeedsAdded); |
121 void NotifyOpmlParsingCompleteL(TInt aError, TUint aNumFeedsAdded); |
122 |
122 |
123 |
123 |
124 private: |
124 private: |
125 void DBLoadFeedsL(); |
125 void DBLoadFeedsL(); |
126 TBool DBRemoveFeed(TUint aUid); |
126 TBool DBRemoveFeed(TUint aUid); |
127 TBool DBAddFeedL(const CFeedInfo& aTtem); |
127 TBool DBAddFeedL(const CFeedInfo& aTtem); |
128 CFeedInfo* DBGetFeedInfoByUidL(TUint aFeedUid); |
128 CFeedInfo* DBGetFeedInfoByUidL(TUint aFeedUid); |
129 TUint DBGetFeedCount(); |
129 TUint DBGetFeedCount(); |
130 TBool DBUpdateFeed(const CFeedInfo& aItem); |
130 TBool DBUpdateFeedL(const CFeedInfo& aItem); |
131 void DBGetStatsByFeed(TUint aFeedUid, TUint &aNumShows, TUint &aNumUnplayed); |
131 void DBGetStatsByFeed(TUint aFeedUid, TUint &aNumShows, TUint &aNumUnplayed); |
132 |
132 |
133 |
133 |
134 private: |
134 private: |
135 CHttpClient* iFeedClient; |
135 CHttpClient* iFeedClient; |