dependencies/ctsydomainpskeys.h
author kashif.sayed
Fri, 26 Mar 2010 03:06:02 +0530
branchv5backport
changeset 30 f9f9f96b1873
parent 20 d2ab7c3d0c48
permissions -rw-r--r--
user: kashif.sayed added contentcontrolsrv/.cproject added contentcontrolsrv/.project added contentcontrolsrv/group/ABLD.BAT added contentpublishingsrv/.cproject added contentpublishingsrv/.project added contentpublishingsrv/contentharvester/.cproject added contentpublishingsrv/contentharvester/.project added contentpublishingsrv/contentharvester/contentharvesterclient/group/ABLD.BAT added contentpublishingsrv/contentharvester/contentharvesterserver/group/ABLD.BAT added contentpublishingsrv/contentharvester/contentharvesterswiplugin/group/ABLD.BAT added contentpublishingsrv/contentharvester/factorysettingsplugin/group/ABLD.BAT added contentpublishingsrv/contentharvester/group/ABLD.BAT added contentpublishingsrv/group/ABLD.BAT added dependencies/S3libs/cpswrapper.lib added dependencies/S3libs/hscontentcontrol.lib added dependencies/S3libs/hspswrapper.lib added group/ABLD.BAT added homescreenpluginsrv/group/ABLD.BAT added homescreensrv_plat/group/ABLD.BAT added idlefw/group/ABLD.BAT added inc/ccontentmap.h added inc/cpdebug.h added inc/cpglobals.h added inc/cpliwmap.h added inc/cpluginvalidator.h added inc/cpserverdef.h added inc/cpublisherregistrymap.h added inc/mcssathandler.h added menucontentsrv/group/ABLD.BAT added xcfw/group/ABLD.BAT changed dependencies/S3libs/bld.inf

/*
* Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:
*
*/




/**
 @file
 @publishedPartner
 @released
*/
#ifndef CTSYDOMAINPSKEYS_H
#define CTSYDOMAINPSKEYS_H

// INCLUDES
#include <e32std.h>

/**
 * For Call forwarding number
 */  
const TUid KPSUidCtsyCallForwardingInfo = { 0x1020299D };

/**
 * For Emergency call info
 * Provides information whether an emergency call is active or not
 */  
const TUid KPSUidCtsyEmergencyCallInfo = { 0x102029A0 };
    
/** For Emergency call info */
enum KEmergencyCallInfo 
    {
    KCTSYEmergencyCallInfo,
    };
   
/**
* Telephony Call Information API.
*/
const TUid KPSUidCtsyCallInformation = {0x102029AC};
/**
* State of ongoing call(s). The following table shows states if
* in different combinations of phone calls.
* 
* Call 1 state    Call 2 state    TPSCTsyCallState
* =========================================================
* idle            idle            EPSCTsyCallStateNone
* hold            idle            EPSCTsyCallStateHold
* hold            dialling        EPSCTsyCallStateDialling
* hold            ringing         EPSCTsyCallStateRinging
* hold            answering       EPSCTsyCallStateAnswering
* hold            connected       EPSCTsyCallStateConnected
* connected       connected       EPSCTsyCallStateConnected
* connected       ringing         EPSCTsyCallStateRinging
* disconnecting   connected       EPSCTsyCallStateConnected
* disconnecting   hold            EPSCTsyCallStateHold
* disconnecting   idle            EPSCTsyCallStateDisconnecting
* disconnecting   ringing         EPSCTsyCallStateRinging
*
* @type: RProperty::EInt

*  For single calls 
       *       

       *  Mobile originated call states: 

       *     (1) EPSCTsyCallStateNone 
       *     (2) EPSCTsyCallStateDialling 
       *     (3) EPSCTsyCallStateAlerting 
       *     (4) EPSTelephonyCallStateConnected 
       *     (5) EPSCTsyCallStateDisconnecting 
       *     (6) EPSCTsyCallStateNone  
       * 
       *       Note that state transitions (2) --> (5) and (3) --> (5) are also possible.      
       * 
       * Mobile terminated call states: 

       *     (1) EPSCTsyCallStateNone 
       *     (8) EPSCTsyCallStateRinging 
       *     (4) EPSTelephonyCallStateConnected 
       *     (5) EPSCTsyCallStateDisconnecting 
       *     (6) EPSCTsyCallStateNone 
       *     
       *       Note that state transition (8) --> (5) is also possible.      
       * 
       *  If the call is put on Hold the the following state transition are possible: 
       *  (4) --> (9) EPSCTsyCallStateHold --> (4) 
       *  (4) --> (9) --> (5) 

*/ 

/**
 * State of ongoing call.  
 *
 */
const TUint32 KCTsyCallState = 0x00000001; 
enum TPSCTsyCallState
    {
    /** Call has not been initialized */
    EPSCTsyCallStateUninitialized,
    /** None */
    EPSCTsyCallStateNone,
    /** Call is in alerting state */
    EPSCTsyCallStateAlerting,
    /** Call is in ringing state */
    EPSCTsyCallStateRinging,
    /** Call is being dialled */
    EPSCTsyCallStateDialling,
    /** Call is being answered */
    EPSCTsyCallStateAnswering,
    /** Call is being disconnected */
    EPSCTsyCallStateDisconnecting,
    /** Call is connected */
    EPSCTsyCallStateConnected,
    /** Call is held */
    EPSCTsyCallStateHold
    };

/**
* Type of ongoing call.  
*
*/
const TUint32 KCTsyCallType = 0x00000002; 
enum TPSCTsyCallType
    {
    /** Call type has not been initialized */
    EPSCTsyCallTypeUninitialized,
    /** None */
    EPSCTsyCallTypeNone,
    /** CS voice call */
    EPSCTsyCallTypeCSVoice,
    /** Fax call */
    EPSCTsyCallTypeFax,
    /** Data call */
    EPSCTsyCallTypeData,
    /** HSCSD call */
    EPSCTsyCallTypeHSCSD,
    /** H.324 multimedia call */
    EPSCTsyCallTypeH324Multimedia,
    /** VoIP call */
    EPSCTsyCallTypeVoIP
    };    

#endif //CTSYDOMAINPSKEYS_H