engine/inc/ShowEngine.h
branchsymbian1
changeset 148 e3f9b65d6910
parent 147 2e626f5a52c8
child 176 1c8b56cb6409
child 336 3d6c1417e8bd
equal deleted inserted replaced
147:2e626f5a52c8 148:e3f9b65d6910
    42 	EDownloadedShows,
    42 	EDownloadedShows,
    43 	ENewAndDownloadedShows
    43 	ENewAndDownloadedShows
    44 	};
    44 	};
    45 
    45 
    46 class CShowEngine : public CBase, public MHttpClientObserver, public MMetaDataReaderObserver
    46 class CShowEngine : public CBase, public MHttpClientObserver, public MMetaDataReaderObserver
    47 {
    47 	{
    48 public:
    48 public:
    49 	IMPORT_C static CShowEngine* NewL(CPodcastModel& aPodcastModel);
    49 	IMPORT_C static CShowEngine* NewL(CPodcastModel& aPodcastModel);
    50 	IMPORT_C virtual ~CShowEngine();
    50 	IMPORT_C virtual ~CShowEngine();
    51 	
    51 	
    52 public:
    52 public:
   149 	// observers that will receive callbacks
   149 	// observers that will receive callbacks
   150     	RArray<MShowEngineObserver*> iObservers;
   150     	RArray<MShowEngineObserver*> iObservers;
   151 
   151 
   152 	// The show we are currently downloading
   152 	// The show we are currently downloading
   153 	CShowInfo* iShowDownloading;
   153 	CShowInfo* iShowDownloading;
   154     	TUint iDownloadErrors;
   154     TUint iDownloadErrors;
   155     
   155     
   156     	CMetaDataReader* iMetaDataReader;
   156     CMetaDataReader* iMetaDataReader;
   157     
   157     
   158     	RApaLsSession iApaSession;
   158     RApaLsSession iApaSession;
   159 	TBuf8<512> iRecogBuffer;
   159 	TBuf8<512> iRecogBuffer;
   160 	
   160 	
   161 	sqlite3& iDB;
   161 	sqlite3& iDB;
   162     	TBuf<KDefaultSQLDataBufferLength> iSqlBuffer;
   162     TBuf<KDefaultSQLDataBufferLength> iSqlBuffer;
   163    	TShowFilter iShowFilter;
   163    	TShowFilter iShowFilter;
   164 };
   164 	};
   165 
   165 
   166 #endif /*SHOWENGINE_H_*/
   166 #endif /*SHOWENGINE_H_*/
   167 
   167