--- a/engine/inc/FeedEngine.h Mon Jul 19 16:34:15 2010 +0100
+++ b/engine/inc/FeedEngine.h Mon Jul 19 16:51:10 2010 +0100
@@ -29,6 +29,7 @@
#include "FeedEngineObserver.h"
#include "FeedTimer.h"
#include "sqlite3.h"
+#include <centralrepository.h>
class CPodcastModel;
class COpmlParser;
@@ -54,6 +55,7 @@
ESearching
};
+
class CFeedEngine : public CBase, public MHttpClientObserver, public MFeedParserObserver
{
public:
@@ -95,6 +97,7 @@
IMPORT_C void OpmlParsingCompleteL(TInt aError, TUint aNumFeedsAdded);
void NotifyFeedUpdateComplete(TInt aFeedUid, TInt aError);
+
protected:
static TInt CompareFeedsByTitle(const CFeedInfo &a, const CFeedInfo &b);
@@ -155,6 +158,9 @@
TBool newFeed;
TUint showsAdded;
+ // offline mode detection
+ CRepository* iRepository;
+
sqlite3& iDB;
TBuf<KDefaultSQLDataBufferLength> iSqlBuffer;