contextframework/cfwplugins/orientationactionplugin/src/orientationactionplugin.cpp
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2006-2006 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2006-2010 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". |
82 { |
82 { |
83 FUNC_LOG; |
83 FUNC_LOG; |
84 |
84 |
85 CCFActionPlugIn::TExecutionTime time = CCFActionPlugIn::ENone; |
85 CCFActionPlugIn::TExecutionTime time = CCFActionPlugIn::ENone; |
86 |
86 |
87 const RKeyValueArray& params = aActionIndication->Parameters(); |
|
88 // Check for action ID: Orientation |
87 // Check for action ID: Orientation |
89 if( aActionIndication->Identifier().CompareF( |
88 if( aActionIndication->Identifier().CompareF( |
90 KOrientationAction ) == KErrNone ) |
89 KOrientationAction ) == KErrNone ) |
91 { |
90 { |
92 time = HandleOrientationActionL( *aActionIndication ); |
91 time = HandleOrientationActionL( *aActionIndication ); |