engine/inc/FeedEngine.h
branch3rded
changeset 390 d7abecc9d189
parent 343 9c56bf585696
equal deleted inserted replaced
345:702ba9ffe210 390:d7abecc9d189
    95 	IMPORT_C void AddSearchResultL(CFeedInfo *item);
    95 	IMPORT_C void AddSearchResultL(CFeedInfo *item);
    96 	IMPORT_C const RFeedInfoArray& GetSearchResults();
    96 	IMPORT_C const RFeedInfoArray& GetSearchResults();
    97 
    97 
    98 	IMPORT_C void OpmlParsingCompleteL(TInt aError, TUint aNumFeedsAdded);
    98 	IMPORT_C void OpmlParsingCompleteL(TInt aError, TUint aNumFeedsAdded);
    99 	void NotifyFeedUpdateComplete(TInt aFeedUid, TInt aError);
    99 	void NotifyFeedUpdateComplete(TInt aFeedUid, TInt aError);
       
   100 	void ParserShowUpdatedL(CShowInfo& aShow);
   100 	
   101 	
   101 protected:
   102 protected:
   102 	
   103 	
   103 	static TInt CompareFeedsByTitle(const CFeedInfo &a, const CFeedInfo &b);
   104 	static TInt CompareFeedsByTitle(const CFeedInfo &a, const CFeedInfo &b);
   104 
   105 
   152 	RArray<TUint> iFeedsUpdating;
   153 	RArray<TUint> iFeedsUpdating;
   153 	
   154 	
   154 	// observers that will receive callbacks, not owning
   155 	// observers that will receive callbacks, not owning
   155     RArray<MFeedEngineObserver*> iObservers;
   156     RArray<MFeedEngineObserver*> iObservers;
   156     
   157     
   157     // new feeds only add one show to download list when auto downloading
       
   158     TBool newFeed;
       
   159     TUint showsAdded;
       
   160     
       
   161     // offline mode detection
   158     // offline mode detection
   162     CRepository* iRepository;
   159     CRepository* iRepository;
   163     
   160     
   164     sqlite3& iDB;
   161     sqlite3& iDB;
   165     
   162