26 #include "PodcastModel.h" |
26 #include "PodcastModel.h" |
27 #include "HttpClient.h" |
27 #include "HttpClient.h" |
28 #include "ShowEngineObserver.h" |
28 #include "ShowEngineObserver.h" |
29 #include "MetaDataReader.h" |
29 #include "MetaDataReader.h" |
30 #include <sqlite3.h> |
30 #include <sqlite3.h> |
|
31 #ifdef ENABLE_MPX_INTEGRATION |
31 #include "mpxcollectionhelper.h" |
32 #include "mpxcollectionhelper.h" |
32 #include "mpxcollectionhelperobserver.h" |
33 #include "mpxcollectionhelperobserver.h" |
|
34 #endif |
33 |
35 |
34 struct TDownload |
36 struct TDownload |
35 { |
37 { |
36 TUint iIndex; |
38 TUint iIndex; |
37 TUint iUid; |
39 TUint iUid; |
38 }; |
40 }; |
39 |
41 #ifdef ENABLE_MPX_INTEGRATION |
40 class CShowEngine : public CBase, public MHttpClientObserver, public MMetaDataReaderObserver, |
42 class CShowEngine : public CBase, public MHttpClientObserver, public MMetaDataReaderObserver, |
41 public MMPXCollectionHelperObserver |
43 public MMPXCollectionHelperObserver |
|
44 #else |
|
45 class CShowEngine : public CBase, public MHttpClientObserver, public MMetaDataReaderObserver |
|
46 #endif |
42 { |
47 { |
43 public: |
48 public: |
44 IMPORT_C static CShowEngine* NewL(CPodcastModel& aPodcastModel); |
49 IMPORT_C static CShowEngine* NewL(CPodcastModel& aPodcastModel); |
45 IMPORT_C virtual ~CShowEngine(); |
50 IMPORT_C virtual ~CShowEngine(); |
46 |
51 |
154 RApaLsSession iApaSession; |
159 RApaLsSession iApaSession; |
155 TBuf8<512> iRecogBuffer; |
160 TBuf8<512> iRecogBuffer; |
156 |
161 |
157 sqlite3& iDB; |
162 sqlite3& iDB; |
158 TBuf<KDefaultSQLDataBufferLength> iSqlBuffer; |
163 TBuf<KDefaultSQLDataBufferLength> iSqlBuffer; |
159 |
164 #ifdef ENABLE_MPX_INTEGRATION |
160 MMPXCollectionHelper* iCollectionHelper; |
165 MMPXCollectionHelper* iCollectionHelper; |
|
166 #endif |
161 }; |
167 }; |
162 |
168 |
163 #endif /*SHOWENGINE_H_*/ |
169 #endif /*SHOWENGINE_H_*/ |
164 |
170 |