equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2006-2008 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
300 // the buble,too. Currently, this list will not bu used not. |
300 // the buble,too. Currently, this list will not bu used not. |
301 if ( !aAllowed ) |
301 if ( !aAllowed ) |
302 { |
302 { |
303 if( iStatusPaneStateData->iProcessList.Find( aClientId ) == KErrNotFound ) |
303 if( iStatusPaneStateData->iProcessList.Find( aClientId ) == KErrNotFound ) |
304 { |
304 { |
305 if ( KErrNone != iStatusPaneStateData->iProcessList.Append( aClientId ) ) |
305 iStatusPaneStateData->iProcessList.Append( aClientId ); |
306 { |
|
307 return; |
|
308 } |
|
309 } |
306 } |
310 } |
307 } |
311 else |
308 else |
312 { |
309 { |
313 TInt index = iStatusPaneStateData->iProcessList.Find( aClientId ); |
310 TInt index = iStatusPaneStateData->iProcessList.Find( aClientId ); |
715 } |
712 } |
716 |
713 |
717 TInt statusPaneLayoutId = AknStatuspaneUtils::CurrentStatusPaneLayoutResId(); |
714 TInt statusPaneLayoutId = AknStatuspaneUtils::CurrentStatusPaneLayoutResId(); |
718 TAknLayoutRect layoutRect; |
715 TAknLayoutRect layoutRect; |
719 if ( isLandscape && |
716 if ( isLandscape && |
720 ( statusPaneLayoutId == R_AVKON_WIDESCREEN_PANE_LAYOUT_USUAL_FLAT || |
717 ( statusPaneLayoutId == R_AVKON_STATUS_PANE_LAYOUT_USUAL_FLAT || |
721 statusPaneLayoutId == R_AVKON_WIDESCREEN_PANE_LAYOUT_IDLE_FLAT ) ) |
718 statusPaneLayoutId == R_AVKON_STATUS_PANE_LAYOUT_IDLE_FLAT ) ) |
722 { |
719 { |
723 layoutRect.LayoutRect( |
720 layoutRect.LayoutRect( |
724 applicationWindow, |
721 applicationWindow, |
725 AknLayoutScalable_Avkon::popup_uni_indicator_window( 6 ) ); |
722 AknLayoutScalable_Avkon::popup_uni_indicator_window( 6 ) ); |
726 positionIsBottomLeft = ETrue; |
723 positionIsBottomLeft = ETrue; |
730 { |
727 { |
731 layoutRect.LayoutRect( |
728 layoutRect.LayoutRect( |
732 applicationWindow, |
729 applicationWindow, |
733 AknLayoutScalable_Avkon::popup_uni_indicator_window( 6 ) ); |
730 AknLayoutScalable_Avkon::popup_uni_indicator_window( 6 ) ); |
734 } |
731 } |
735 else if ( statusPaneLayoutId == R_AVKON_WIDESCREEN_PANE_LAYOUT_USUAL_FLAT_NO_SOFTKEYS || |
732 else if ( statusPaneLayoutId == R_AVKON_WIDESCREEN_PANE_LAYOUT_USUAL_FLAT || |
|
733 statusPaneLayoutId == R_AVKON_WIDESCREEN_PANE_LAYOUT_IDLE_FLAT || |
|
734 statusPaneLayoutId == R_AVKON_WIDESCREEN_PANE_LAYOUT_USUAL_FLAT_NO_SOFTKEYS || |
736 statusPaneLayoutId == R_AVKON_WIDESCREEN_PANE_LAYOUT_IDLE_FLAT_NO_SOFTKEYS ) |
735 statusPaneLayoutId == R_AVKON_WIDESCREEN_PANE_LAYOUT_IDLE_FLAT_NO_SOFTKEYS ) |
737 { |
736 { |
738 layoutRect.LayoutRect( |
737 layoutRect.LayoutRect( |
739 applicationWindow, |
738 applicationWindow, |
740 AknLayoutScalable_Avkon::popup_uni_indicator_window( 5 ) ); |
739 AknLayoutScalable_Avkon::popup_uni_indicator_window( 5 ) ); |
1034 } |
1033 } |
1035 case EAknIndicatorUSBMemActive: |
1034 case EAknIndicatorUSBMemActive: |
1036 case EAknIndicatorUSBMemConnected: |
1035 case EAknIndicatorUSBMemConnected: |
1037 { |
1036 { |
1038 pluginUid.iUid = KImplUIDUSBMEMIndicatorsPlugin; |
1037 pluginUid.iUid = KImplUIDUSBMEMIndicatorsPlugin; |
1039 break; |
|
1040 } |
|
1041 case EAknIndicatorIntegratedIM: |
|
1042 { |
|
1043 pluginUid.iUid = KImplUIDIIMIndicatorPlugin; |
|
1044 break; |
1038 break; |
1045 } |
1039 } |
1046 // currently uncategorized: |
1040 // currently uncategorized: |
1047 case EAknIndicatorKeyguard: |
1041 case EAknIndicatorKeyguard: |
1048 case EAknIndicatorHomeZone: |
1042 case EAknIndicatorHomeZone: |