engine/inc/PodcastModel.h
branchsymbian1
changeset 44 f6f9647922ba
parent 36 e010fc411ddc
child 65 bcd88ba95046
child 96 a8538f50e2ba
equal deleted inserted replaced
41:56821195bd44 44:f6f9647922ba
    34 
    34 
    35 // SQLite leaks memory when sorting, so to test our own memory leaks we need to disable this
    35 // SQLite leaks memory when sorting, so to test our own memory leaks we need to disable this
    36 //#define DONT_SORT_SQL
    36 //#define DONT_SORT_SQL
    37 class RCmManager;
    37 class RCmManager;
    38 class CFeedEngine;
    38 class CFeedEngine;
    39 class CSoundEngine;
       
    40 class CShowEngine;
    39 class CShowEngine;
    41 class CSettingsEngine;
    40 class CSettingsEngine;
    42 class CCommsDatabase;
    41 class CCommsDatabase;
    43 class CConnectionEngine;
    42 class CConnectionEngine;
    44 
    43 
    58 public:
    57 public:
    59 	IMPORT_C static CPodcastModel* NewL();
    58 	IMPORT_C static CPodcastModel* NewL();
    60 	IMPORT_C ~CPodcastModel();
    59 	IMPORT_C ~CPodcastModel();
    61 	IMPORT_C CFeedEngine& FeedEngine();
    60 	IMPORT_C CFeedEngine& FeedEngine();
    62 	IMPORT_C CShowEngine& ShowEngine();
    61 	IMPORT_C CShowEngine& ShowEngine();
    63 	IMPORT_C CSoundEngine& SoundEngine();
       
    64 	IMPORT_C CSettingsEngine& SettingsEngine();
    62 	IMPORT_C CSettingsEngine& SettingsEngine();
    65 	IMPORT_C CConnectionEngine& ConnectionEngine();
    63 	IMPORT_C CConnectionEngine& ConnectionEngine();
    66 	IMPORT_C CShowInfo* PlayingPodcast();
    64 	IMPORT_C CShowInfo* PlayingPodcast();
    67 	IMPORT_C void SetPlayingPodcast(CShowInfo* aPodcast);
    65 	IMPORT_C void SetPlayingPodcast(CShowInfo* aPodcast);
    68 	IMPORT_C void PlayPausePodcastL(CShowInfo * aPodcast, TBool aPlayOnInit = EFalse);
    66 	IMPORT_C void PlayPausePodcastL(CShowInfo * aPodcast, TBool aPlayOnInit = EFalse);
   106 private:	
   104 private:	
   107    CShowInfo* iPlayingPodcast;
   105    CShowInfo* iPlayingPodcast;
   108    
   106    
   109    CFeedEngine* iFeedEngine;
   107    CFeedEngine* iFeedEngine;
   110    CShowEngine* iShowEngine;
   108    CShowEngine* iShowEngine;
   111    CSoundEngine* iSoundEngine;
       
   112    CSettingsEngine *iSettingsEngine;
   109    CSettingsEngine *iSettingsEngine;
   113    CConnectionEngine* iConnectionEngine;
   110    CConnectionEngine* iConnectionEngine;
   114    RShowInfoArray iActiveShowList;
   111    RShowInfoArray iActiveShowList;
   115    CFeedInfo *iActiveFeed;   
   112    CFeedInfo *iActiveFeed;   
   116    
   113