equal
deleted
inserted
replaced
31 //#include <mpxattribute.h> |
31 //#include <mpxattribute.h> |
32 //#include <mpxmediageneraldefs.h> |
32 //#include <mpxmediageneraldefs.h> |
33 |
33 |
34 const TUint KMaxDownloadErrors = 3; |
34 const TUint KMaxDownloadErrors = 3; |
35 const TInt KMimeBufLength = 100; |
35 const TInt KMimeBufLength = 100; |
36 |
|
37 // Cleanup stack macro for SQLite3 |
|
38 // TODO Move this to some common place. |
|
39 static void Cleanup_sqlite3_finalize_wrapper(TAny* handle) |
|
40 { |
|
41 sqlite3_finalize(static_cast<sqlite3_stmt*>(handle)); |
|
42 } |
|
43 #define Cleanup_sqlite3_finalize_PushL(__handle) CleanupStack::PushL(TCleanupItem(&Cleanup_sqlite3_finalize_wrapper, __handle)) |
|
44 |
|
45 |
36 |
46 CShowEngine::CShowEngine(CPodcastModel& aPodcastModel) : |
37 CShowEngine::CShowEngine(CPodcastModel& aPodcastModel) : |
47 iPodcastModel(aPodcastModel), |
38 iPodcastModel(aPodcastModel), |
48 iDB(*aPodcastModel.DB()) |
39 iDB(*aPodcastModel.DB()) |
49 { |
40 { |