34 #include "mpxcbahandler.h" |
34 #include "mpxcbahandler.h" |
35 |
35 |
36 #include "mpxcollectionviewhg.h" |
36 #include "mpxcollectionviewhg.h" |
37 #include "mpxplaybackframeworkdefs.h" // TMPXPlaybackPlayerType |
37 #include "mpxplaybackframeworkdefs.h" // TMPXPlaybackPlayerType |
38 #include "mpxwaitnotedefs.h" |
38 #include "mpxwaitnotedefs.h" |
|
39 #include "mpxselectedalbumhandler.h" |
39 |
40 |
40 // FORWARD DECLARATIONS |
41 // FORWARD DECLARATIONS |
41 class CAiwGenericParamList; |
42 class CAiwGenericParamList; |
42 class CAiwServiceHandler; |
43 class CAiwServiceHandler; |
43 class CAknNaviLabel; |
44 class CAknNaviLabel; |
81 public MMPXCollectionHelperObserver, |
82 public MMPXCollectionHelperObserver, |
82 public MMPXCHelperObserver, |
83 public MMPXCHelperObserver, |
83 public MMPXViewActivationObserver, |
84 public MMPXViewActivationObserver, |
84 public MCoeViewDeactivationObserver, |
85 public MCoeViewDeactivationObserver, |
85 public MCoeViewActivationObserver, |
86 public MCoeViewActivationObserver, |
86 public MMpxCbaHandler |
87 public MMpxCbaHandler, |
|
88 public MMPXSelectedAlbumHandler |
87 { |
89 { |
88 public: |
90 public: |
89 |
91 |
90 /** |
92 /** |
91 * Two-phased constructor. |
93 * Two-phased constructor. |
159 * Displays error notes. |
175 * Displays error notes. |
160 * |
176 * |
161 * @param aError Error code to be handled. |
177 * @param aError Error code to be handled. |
162 */ |
178 */ |
163 void HandleError( TInt aError ); |
179 void HandleError( TInt aError ); |
164 |
|
165 /** |
|
166 * Updates the navi pane |
|
167 */ |
|
168 void UpdateNaviPaneL(); |
|
169 |
180 |
170 /** |
181 /** |
171 * Updates the title pane |
182 * Updates the title pane |
172 */ |
183 */ |
173 void UpdateTitlePaneL(); |
184 void UpdateTitlePaneL(); |
840 void HandleBacksteppingActivation(); |
851 void HandleBacksteppingActivation(); |
841 |
852 |
842 void ChangeCbaVisibility( TBool aVisible ); |
853 void ChangeCbaVisibility( TBool aVisible ); |
843 |
854 |
844 void UpdateCba(); |
855 void UpdateCba(); |
845 |
856 |
|
857 TBool NowPlayingOptionVisibilityL(); |
846 void HandleInitMusicMenuPaneL(CEikMenuPane* aMenuPane ); |
858 void HandleInitMusicMenuPaneL(CEikMenuPane* aMenuPane ); |
|
859 void DynInitMenuPaneAlbumL(TInt aResourceId, CEikMenuPane* aMenuPane ); |
|
860 void DynInitMenuPanePlaylistL(TInt aResourceId, CEikMenuPane* aMenuPane ); |
|
861 void DynInitMenuPaneGenreL(TInt aResourceId, CEikMenuPane* aMenuPane ); |
|
862 void DynInitMenuPaneSongsL(TInt aResourceId, CEikMenuPane* aMenuPane ); |
|
863 void DynInitMenuPanePlaylistSongsL(TInt aResourceId, CEikMenuPane* aMenuPane ); |
847 |
864 |
848 void OpenAllSongsL(); |
865 void OpenAllSongsL(); |
849 void OpenArtistAlbumsL(); |
866 void OpenArtistAlbumsL(); |
850 void OpenPlaylistsL(); |
867 void OpenPlaylistsL(); |
851 void OpenGenreL(); |
868 void OpenGenreL(); |
852 void OpenPodcastsL(); |
869 void OpenPodcastsL(); |
853 |
870 |
854 static TInt IADCheckTimerCallBack(TAny* aHgViewObject); //directly called |
|
855 void StartCheckingforIADUpdates(); //indirectly called |
|
856 |
871 |
857 private: // Data |
872 private: // Data |
858 |
873 |
859 MMPXCollectionUtility* iCollectionUtility; |
874 MMPXCollectionUtility* iCollectionUtility; |
860 CMPXCollectionViewHgContainer* iContainer; |
875 CMPXCollectionViewHgContainer* iContainer; |
904 TInt iCurrentHighlightedIndex; |
919 TInt iCurrentHighlightedIndex; |
905 |
920 |
906 TInt iCachedCommand; // for incremental open |
921 TInt iCachedCommand; // for incremental open |
907 CListBoxView::CSelectionIndexArray* iCachedSelectionIndex; |
922 CListBoxView::CSelectionIndexArray* iCachedSelectionIndex; |
908 |
923 |
909 CAknNavigationDecorator* iNaviDecorator; |
|
910 CAknNaviLabel* iNaviLabel; |
|
911 CAknNavigationControlContainer* iNaviPane; |
|
912 |
|
913 CEikButtonGroupContainer* iCurrentCba; |
924 CEikButtonGroupContainer* iCurrentCba; |
914 |
925 |
915 CAknQueryDialog* iConfirmationDlg; |
926 CAknQueryDialog* iConfirmationDlg; |
916 |
927 |
917 const CArrayFix<TInt>* iSelectionIndexCache; // not owned |
928 const CArrayFix<TInt>* iSelectionIndexCache; // not owned |