equal
deleted
inserted
replaced
21 #define C_CMPXAUDIOEFFECTSVIEWIMP_H |
21 #define C_CMPXAUDIOEFFECTSVIEWIMP_H |
22 |
22 |
23 |
23 |
24 //INCLUDES |
24 //INCLUDES |
25 #include <mpxplaybackframeworkdefs.h> |
25 #include <mpxplaybackframeworkdefs.h> |
26 |
26 #include <mpxviewactivationobserver.h> |
27 #include "mpxaudioeffectsview.h" |
27 #include "mpxaudioeffectsview.h" |
28 |
28 |
29 |
29 |
30 // FORWARD DECLARATIONS |
30 // FORWARD DECLARATIONS |
31 class CMPXAudioEffectsModel; |
31 class CMPXAudioEffectsModel; |
39 * CMPXAudioEffectsViewImp, View class for audio settings |
39 * CMPXAudioEffectsViewImp, View class for audio settings |
40 * |
40 * |
41 * @lib mpxaudioeffectsview.dll |
41 * @lib mpxaudioeffectsview.dll |
42 * @since Series 60 3.0 |
42 * @since Series 60 3.0 |
43 */ |
43 */ |
44 NONSHARABLE_CLASS( CMPXAudioEffectsViewImp ) : public CMPXAudioEffectsView |
44 NONSHARABLE_CLASS( CMPXAudioEffectsViewImp ) : public CMPXAudioEffectsView, public MMPXViewActivationObserver |
45 { |
45 { |
46 public: |
46 public: |
47 |
47 |
48 /** |
48 /** |
49 * Two-phased constructor |
49 * Two-phased constructor |
114 |
114 |
115 /** |
115 /** |
116 * From CAknView |
116 * From CAknView |
117 */ |
117 */ |
118 void DoDeactivate(); |
118 void DoDeactivate(); |
|
119 |
|
120 // from MMPXViewActivationObserver |
|
121 |
|
122 /** |
|
123 * From MMPXViewActivationObserver |
|
124 * Handle view activation. |
|
125 * |
|
126 * @param aCurrentViewType Current view type Uid. |
|
127 * @param aPreviousViewType Previous view type Uid. |
|
128 */ |
|
129 void HandleViewActivation( |
|
130 const TUid& aCurrentViewType, |
|
131 const TUid& aPreviousViewType ); |
|
132 /** |
|
133 * @see MMPXViewActivationObserver |
|
134 */ |
|
135 void HandleViewUpdate( |
|
136 TUid aViewUid, |
|
137 MMPXViewActivationObserver::TViewUpdateEvent aUpdateEvent, |
|
138 TBool aLoaded, |
|
139 TInt aData); |
119 |
140 |
120 private: // data |
141 private: // data |
121 |
142 |
122 CMPXAudioEffectsViewContainer* iContainer; |
143 CMPXAudioEffectsViewContainer* iContainer; |
123 CMPXAudioEffectsModel* iModel; |
144 CMPXAudioEffectsModel* iModel; |
124 MMPXPlaybackUtility* iPlaybackUtility; // not own |
145 MMPXPlaybackUtility* iPlaybackUtility; // not own |
125 |
146 |
126 TVwsViewId iPreviousView; |
147 TVwsViewId iPreviousView; |
127 TInt iResourceOffset; |
148 TInt iResourceOffset; |
128 MMPXViewUtility* iViewUtility; |
149 MMPXViewUtility* iViewUtility; |
|
150 TBool iGoPreviousView; |
129 }; |
151 }; |
130 |
152 |
131 #endif // C_CMPXAUDIOEFFECTSVIEWIMP_H |
153 #endif // C_CMPXAUDIOEFFECTSVIEWIMP_H |
132 |
154 |
133 // End of File |
155 // End of File |