equal
deleted
inserted
replaced
13 * |
13 * |
14 * Description: Implementation of VideoPlaybackControlConfiguration |
14 * Description: Implementation of VideoPlaybackControlConfiguration |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 // Version : %version: da1mmcf#24 % |
18 // Version : %version: da1mmcf#25 % |
19 |
19 |
20 |
20 |
21 |
21 |
22 // INCLUDE FILES |
22 // INCLUDE FILES |
23 |
23 |
72 { |
72 { |
73 // |
73 // |
74 // streaming, add branding animation control to show while initializing |
74 // streaming, add branding animation control to show while initializing |
75 // |
75 // |
76 addControlToList( EBufferingAnimation ); |
76 addControlToList( EBufferingAnimation ); |
|
77 |
|
78 emit controlListUpdated(); |
77 } |
79 } |
78 else if ( mControlsController->shouldShowRNLogo() ) |
80 else if ( mControlsController->shouldShowRNLogo() ) |
79 { |
81 { |
80 addControlToList( ERealLogoBitmap ); |
82 addControlToList( ERealLogoBitmap ); |
81 } |
83 |
82 |
84 emit controlListUpdated(); |
83 emit controlListUpdated(); |
85 } |
84 } |
86 } |
85 |
87 |
86 // ------------------------------------------------------------------------------------------------- |
88 // ------------------------------------------------------------------------------------------------- |
87 // VideoPlaybackControlConfiguration::controlList |
89 // VideoPlaybackControlConfiguration::controlList |
88 // ------------------------------------------------------------------------------------------------- |
90 // ------------------------------------------------------------------------------------------------- |
119 |
121 |
120 deleteControlFromList( EDetailsViewPlaybackWindow ); |
122 deleteControlFromList( EDetailsViewPlaybackWindow ); |
121 deleteControlFromList( EFileDetailsWidget ); |
123 deleteControlFromList( EFileDetailsWidget ); |
122 deleteControlFromList( EIndicatorBitmap ); |
124 deleteControlFromList( EIndicatorBitmap ); |
123 |
125 |
|
126 emit controlListUpdated(); |
|
127 |
124 break; |
128 break; |
125 } |
129 } |
126 case EControlCmdDetailsViewOpened: |
130 case EControlCmdDetailsViewOpened: |
127 { |
131 { |
128 MPX_DEBUG(_L("VideoPlaybackControlConfiguration::updateControlList() details view")); |
132 MPX_DEBUG(_L("VideoPlaybackControlConfiguration::updateControlList() details view")); |
130 widget->setVisible( false ); |
134 widget->setVisible( false ); |
131 |
135 |
132 deleteControlFromList( EIndicatorBitmap ); |
136 deleteControlFromList( EIndicatorBitmap ); |
133 |
137 |
134 addControlToList( EDetailsViewPlaybackWindow ); |
138 addControlToList( EDetailsViewPlaybackWindow ); |
135 |
|
136 addControlToList( EFileDetailsWidget ); |
139 addControlToList( EFileDetailsWidget ); |
|
140 |
|
141 emit controlListUpdated(); |
137 |
142 |
138 break; |
143 break; |
139 } |
144 } |
140 case EControlCmdTvOutConnected: |
145 case EControlCmdTvOutConnected: |
141 case EControlCmdAudionOnlyViewOpened: |
146 case EControlCmdAudionOnlyViewOpened: |
147 deleteControlFromList( EDetailsViewPlaybackWindow ); |
152 deleteControlFromList( EDetailsViewPlaybackWindow ); |
148 |
153 |
149 addControlToList( EIndicatorBitmap ); |
154 addControlToList( EIndicatorBitmap ); |
150 addControlToList( EFileDetailsWidget ); |
155 addControlToList( EFileDetailsWidget ); |
151 |
156 |
|
157 emit controlListUpdated(); |
|
158 |
152 break; |
159 break; |
153 } |
160 } |
154 case EControlCmdRemoveRNLogo: |
161 case EControlCmdRemoveRNLogo: |
155 { |
162 { |
156 MPX_DEBUG(_L("VideoPlaybackControlConfiguration::updateControlList() RN Logo removed")); |
163 MPX_DEBUG(_L("VideoPlaybackControlConfiguration::updateControlList() RN Logo removed")); |
157 |
164 |
158 deleteControlFromList( ERealLogoBitmap ); |
165 deleteControlFromList( ERealLogoBitmap ); |
159 |
166 |
|
167 emit controlListUpdated(); |
|
168 |
160 break; |
169 break; |
161 } |
170 } |
162 case EControlCmdSurfaceAttached: |
171 case EControlCmdSurfaceAttached: |
163 { |
172 { |
164 MPX_DEBUG(_L("VideoPlaybackControlConfiguration::updateControlList() surface added")); |
173 MPX_DEBUG(_L("VideoPlaybackControlConfiguration::updateControlList() surface added")); |
182 default: |
191 default: |
183 { |
192 { |
184 break; |
193 break; |
185 } |
194 } |
186 } |
195 } |
187 |
|
188 emit controlListUpdated(); |
|
189 } |
196 } |
190 |
197 |
191 // ------------------------------------------------------------------------------------------------- |
198 // ------------------------------------------------------------------------------------------------- |
192 // VideoPlaybackControlConfiguration::deleteControlFromList |
199 // VideoPlaybackControlConfiguration::deleteControlFromList |
193 // ------------------------------------------------------------------------------------------------- |
200 // ------------------------------------------------------------------------------------------------- |