equal
deleted
inserted
replaced
18 |
18 |
19 #ifndef PODCASTUTILS_H_ |
19 #ifndef PODCASTUTILS_H_ |
20 #define PODCASTUTILS_H_ |
20 #define PODCASTUTILS_H_ |
21 |
21 |
22 #include <e32cmn.h> |
22 #include <e32cmn.h> |
23 #include "sqlite3.h" |
23 #include <sqlite3.h> |
|
24 |
24 // Cleanup stack macro for SQLite3 |
25 // Cleanup stack macro for SQLite3 |
25 static void Cleanup_sqlite3_finalize_wrapper(TAny* handle) |
26 static void Cleanup_sqlite3_finalize_wrapper(TAny* handle) |
26 { |
27 { |
27 sqlite3_finalize(static_cast<sqlite3_stmt*>(handle)); |
28 sqlite3_finalize(static_cast<sqlite3_stmt*>(handle)); |
28 } |
29 } |
|
30 |
29 #define Cleanup_sqlite3_finalize_PushL(__handle) CleanupStack::PushL(TCleanupItem(&Cleanup_sqlite3_finalize_wrapper, __handle)) |
31 #define Cleanup_sqlite3_finalize_PushL(__handle) CleanupStack::PushL(TCleanupItem(&Cleanup_sqlite3_finalize_wrapper, __handle)) |
30 |
|
31 |
32 |
32 _LIT(KURLPrefix, "http://"); |
33 _LIT(KURLPrefix, "http://"); |
33 _LIT(KItpcPrefix, "itpc://"); |
34 _LIT(KItpcPrefix, "itpc://"); |
34 _LIT(KPcastPrefix, "pcast://"); |
35 _LIT(KPcastPrefix, "pcast://"); |
35 |
36 |