equal
deleted
inserted
replaced
27 #include "musui.hrh" |
27 #include "musui.hrh" |
28 #include "musuidefinitions.h" |
28 #include "musuidefinitions.h" |
29 #include "muslogger.h" // debug logging |
29 #include "muslogger.h" // debug logging |
30 #include <musui.rsg> |
30 #include <musui.rsg> |
31 #include <musui.mbg> |
31 #include <musui.mbg> |
32 #include "musuidialogutil.h" |
|
33 |
32 |
34 #include <aknViewAppUi.h> |
33 #include <aknViewAppUi.h> |
35 #include <avkon.hrh> |
34 #include <avkon.hrh> |
36 #include <eikmenup.h> |
35 #include <eikmenup.h> |
37 #include <eikbtgpc.h> |
36 #include <eikbtgpc.h> |
303 ETrue ); |
302 ETrue ); |
304 if ( aToolbar->FocusedItem() == KErrNotFound && |
303 if ( aToolbar->FocusedItem() == KErrNotFound && |
305 !AknLayoutUtils::PenEnabled() ) |
304 !AknLayoutUtils::PenEnabled() ) |
306 { |
305 { |
307 aToolbar->SetFocusedItemL( EMusuiCmdToolbarPause ); |
306 aToolbar->SetFocusedItemL( EMusuiCmdToolbarPause ); |
308 } |
307 } |
309 Toolbar()->RemoveItem( EMusuiCmdToolbarBlank ); |
|
310 } |
308 } |
311 |
309 |
312 // Last generic base class functionality |
310 // Last generic base class functionality |
313 CMusUiGeneralView::DynInitToolbarL( aResourceId, aToolbar ); |
311 CMusUiGeneralView::DynInitToolbarL( aResourceId, aToolbar ); |
314 |
312 |
329 iController->SetFileNameL( iContainer->FetchedFileName() ); |
327 iController->SetFileNameL( iContainer->FetchedFileName() ); |
330 RefreshView(); |
328 RefreshView(); |
331 } |
329 } |
332 else |
330 else |
333 { |
331 { |
334 if ( SendController() && SendController()->IsAudioRoutingLoudSpeaker() ) |
|
335 { |
|
336 MusUiDialogUtil::ShowGlobalInformationDialogL( |
|
337 R_MUS_NOTE_HF_DEACTIVATED ); |
|
338 } |
|
339 MusAppUi()->HandleExit(); |
332 MusAppUi()->HandleExit(); |
340 } |
333 } |
341 MUS_LOG( "mus: [MUSUI ] <- CMusUiClipSharingView::RunFetchDialogL" ); |
334 MUS_LOG( "mus: [MUSUI ] <- CMusUiClipSharingView::RunFetchDialogL" ); |
342 } |
335 } |
343 |
336 |
628 *this, |
621 *this, |
629 *this, |
622 *this, |
630 *this, |
623 *this, |
631 videoRect ); |
624 videoRect ); |
632 } |
625 } |
633 iBackgroundContainer->SetUiEventController( EventController() ); |
|
634 |
626 |
635 iContainer->SetController( iController ); |
627 iContainer->SetController( iController ); |
636 |
628 |
637 MUS_LOG( "mus: [MUSUI ] <- CMusUiClipSharingView::DoActivateL" ); |
629 MUS_LOG( "mus: [MUSUI ] <- CMusUiClipSharingView::DoActivateL" ); |
638 } |
630 } |