equal
deleted
inserted
replaced
50 class MMPXCollectionUiHelper; |
50 class MMPXCollectionUiHelper; |
51 class MMPXCollectionUtility; |
51 class MMPXCollectionUtility; |
52 class MMPXPlaybackUtility; |
52 class MMPXPlaybackUtility; |
53 class MMpxCbaHandler; |
53 class MMpxCbaHandler; |
54 class TAknsItemID; |
54 class TAknsItemID; |
|
55 class CAsyncOneShot; |
55 |
56 |
56 // CLASS DECLARATION |
57 // CLASS DECLARATION |
57 |
58 |
58 /** |
59 /** |
59 * MPX Collection view container. |
60 * MPX Collection view container. |
68 , public MHgScrollBufferObserver |
69 , public MHgScrollBufferObserver |
69 , public MHgSelectionObserver |
70 , public MHgSelectionObserver |
70 , public MMPXCollectionFindObserver |
71 , public MMPXCollectionFindObserver |
71 , public MHgVgMediaWallObserver |
72 , public MHgVgMediaWallObserver |
72 , public MMpxTNLoaderObserver |
73 , public MMpxTNLoaderObserver |
|
74 , public MCoeForegroundObserver |
73 { |
75 { |
74 public: |
76 public: |
75 |
77 |
76 /** |
78 /** |
77 * Two-phased constructor. |
79 * Two-phased constructor. |
446 */ |
448 */ |
447 TCoeInputCapabilities InputCapabilities() const; |
449 TCoeInputCapabilities InputCapabilities() const; |
448 |
450 |
449 TTypeUid::Ptr MopSupplyObject(TTypeUid aId); |
451 TTypeUid::Ptr MopSupplyObject(TTypeUid aId); |
450 |
452 |
|
453 void HandleGainingForeground(); |
|
454 |
|
455 void HandleLosingForeground(); |
451 |
456 |
452 // from base class MCoeControlObserver |
457 // from base class MCoeControlObserver |
453 |
458 |
454 /** |
459 /** |
455 * From MCoeControlObserver, Acts upon changes in the hosted control's state. |
460 * From MCoeControlObserver, Acts upon changes in the hosted control's state. |
535 TBool IsSelectedItemASong(); |
540 TBool IsSelectedItemASong(); |
536 |
541 |
537 void HandleItemCommandL( TInt aCommand ); |
542 void HandleItemCommandL( TInt aCommand ); |
538 |
543 |
539 CMPXMedia* SelectedItemMediaL(); |
544 CMPXMedia* SelectedItemMediaL(); |
|
545 |
|
546 /** |
|
547 * Determines if current view is TBoneview |
|
548 * |
|
549 * @return ETrue if current view is TBoneview, EFalse otherwise |
|
550 */ |
|
551 TBool IsTBoneView(); |
540 |
552 |
541 private: |
553 private: |
542 |
554 |
543 /** |
555 /** |
544 * C++ constructor. |
556 * C++ constructor. |
684 void OpenAlbumL(TInt aIndex); |
696 void OpenAlbumL(TInt aIndex); |
685 void PlayAlbumL(TInt aIndex); |
697 void PlayAlbumL(TInt aIndex); |
686 void PlayPlaylistL(TInt aIndex); |
698 void PlayPlaylistL(TInt aIndex); |
687 void PlayGenreL(TInt aIndex); |
699 void PlayGenreL(TInt aIndex); |
688 |
700 |
|
701 static TInt AsyncCallback( TAny* aPtr ); |
|
702 |
689 private: // data member |
703 private: // data member |
690 |
704 |
691 /** |
705 /** |
692 * Context of collection view. It's the exact location within collection navigation |
706 * Context of collection view. It's the exact location within collection navigation |
693 * based on category type + category. |
707 * based on category type + category. |
801 TBool iDefaultIconSet; |
815 TBool iDefaultIconSet; |
802 MMpxCbaHandler* iCbaHandler; |
816 MMpxCbaHandler* iCbaHandler; |
803 TViewType iCurrentViewType; |
817 TViewType iCurrentViewType; |
804 TViewType iPrevViewType; |
818 TViewType iPrevViewType; |
805 TFindOp iFindOp; |
819 TFindOp iFindOp; |
806 |
820 TBool iIsForeground; |
|
821 TBool iDelayedControlCreation; |
|
822 CAsyncCallBack* iAsyncCallBack; |
807 }; |
823 }; |
808 |
824 |
809 #endif // CMPXCOLLECTIONVIEWHGCONTAINER_H |
825 #endif // CMPXCOLLECTIONVIEWHGCONTAINER_H |
810 |
826 |
811 // End of File |
827 // End of File |