engine/inc/PodcastUtils.h
changeset 109 223f270fa7ff
parent 15 93d9f66bf50b
child 116 a2e43aa1ad11
equal deleted inserted replaced
108:554d9980157f 109:223f270fa7ff
    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"
       
    24 // Cleanup stack macro for SQLite3
       
    25 static void Cleanup_sqlite3_finalize_wrapper(TAny* handle)
       
    26 	{
       
    27 	sqlite3_finalize(static_cast<sqlite3_stmt*>(handle));
       
    28 	}
       
    29 #define Cleanup_sqlite3_finalize_PushL(__handle) CleanupStack::PushL(TCleanupItem(&Cleanup_sqlite3_finalize_wrapper, __handle))
       
    30 
    23 
    31 
    24 _LIT(KURLPrefix, "http://");
    32 _LIT(KURLPrefix, "http://");
    25 _LIT(KItpcPrefix, "itpc://");
    33 _LIT(KItpcPrefix, "itpc://");
    26 _LIT(KPcastPrefix, "pcast://");			
    34 _LIT(KPcastPrefix, "pcast://");			
    27 
    35