contextframework/cfwplugins/CallStateSourcePlugIn/inc/CallStateSourceContextDef.h
changeset 0 2e3d3ce01487
equal deleted inserted replaced
-1:000000000000 0:2e3d3ce01487
       
     1 /*
       
     2 * Copyright (c) 2006-2006 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Call state source context definition.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CALLSTATESOURCECONTEXTDEF_H
       
    21 #define CALLSTATESOURCECONTEXTDEF_H
       
    22 
       
    23 #include <cfdefinitions.h>
       
    24 
       
    25 // Context source: 'Call'
       
    26 _LIT( KCallStateSource, "Call" );
       
    27 
       
    28 //-----------------------------------------------------------------------------
       
    29 // Call: State
       
    30 //
       
    31 // Listens P&S key related to call states.
       
    32 //-----------------------------------------------------------------------------
       
    33 //
       
    34 // Type definition
       
    35 _LIT( KCallStateType, "State" );
       
    36 
       
    37 // Value definitions
       
    38 const TInt KCallStateTypeValueCount = 9;
       
    39 _LIT_CONTEXT_VALUES( KCallStateTypeValues ) =
       
    40     {
       
    41     _S( "Uninitialized" ),
       
    42     _S( "None" ),
       
    43     _S( "Alerting" ),
       
    44     _S( "Ringing" ),
       
    45     _S( "Dialling" ),
       
    46     _S( "Answering" ),
       
    47     _S( "Disconnecting" ),
       
    48     _S( "Connected" ),
       
    49     _S( "Hold" ),
       
    50     };
       
    51     
       
    52 // Security definition
       
    53 _LIT_SECURITY_POLICY_C1( KCallStateTypeSec, ECapabilityLocalServices );
       
    54 
       
    55 #endif