contextframework/cfwplugins/orientationactionplugin/src/orientationactionplugin.cpp
branchRCL_3
changeset 19 924385140d98
parent 18 0818dd463d41
child 20 c2c61fdca848
equal deleted inserted replaced
18:0818dd463d41 19:924385140d98
     1 /*
     1 /*
     2 * Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2006-2006 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();
    87     // Check for action ID: Orientation
    88     // Check for action ID: Orientation
    88     if( aActionIndication->Identifier().CompareF(
    89     if( aActionIndication->Identifier().CompareF(
    89         KOrientationAction ) == KErrNone )
    90         KOrientationAction ) == KErrNone )
    90         {
    91         {
    91         time = HandleOrientationActionL( *aActionIndication );
    92         time = HandleOrientationActionL( *aActionIndication );