phoneengine/phonemodel/inc/telinternalpskeys.h
changeset 37 ba76fc04e6c2
child 51 f39ed5e045e0
equal deleted inserted replaced
36:2eacb6118286 37:ba76fc04e6c2
       
     1 /*
       
     2 * Copyright (c) 2004 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:  Telephony internal Publish and Subscribe keys.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef TELINTERNALPSKEYS_H
       
    20 #define TELINTERNALPSKEYS_H
       
    21 
       
    22 #include <e32std.h>
       
    23 #include <telcommsinfopskeys.h>
       
    24 
       
    25 // CONSTANTS
       
    26 
       
    27 /*****************************************************************************
       
    28 * Telephony Internal Information API UID 
       
    29 *****************************************************************************/
       
    30 
       
    31 const TUid KPSUidTelInternalInformation = {0x102029A3}; 
       
    32 
       
    33 /**
       
    34 * Used between Telephony and Telephony service engine.
       
    35 * The telephony does a contact match and provides it to TSE.
       
    36 * It contain an information on remote party contact info.
       
    37 * NOTE: Key to be removed in Taco release
       
    38 * @see TTelRemotePartyContactInfo in TelephonyInternalPSTypes.h
       
    39 * @type RProperty::EByteArray
       
    40 */
       
    41 const TUint32 KTelRemotePartyContactInfo = 0x00000001;
       
    42 
       
    43 /**
       
    44 * Identifier of Video Telephone application.
       
    45 * This key has two special values, see TPSTelVTAppState.
       
    46 * 
       
    47 * @type RProperty::EInt
       
    48 */
       
    49 const TUint32 KTelVideoCallUid = 0x00000002;
       
    50 enum TPSTelVTAppState
       
    51     {
       
    52     // Video Telephone was on background when call ended, no need
       
    53     // to set Phone/Idle on foreground.
       
    54     EPSTelVTAppStateBackground = -1,
       
    55     // Video Telephone
       
    56     EPSTelVTAppStateNone = 0
       
    57     };
       
    58 
       
    59 /*****************************************************************************
       
    60 * Telephony Audio Preference API UID 
       
    61 *****************************************************************************/
       
    62 const TUid KPSUidTelAudioPreference = {0x102029A4};
       
    63     
       
    64 /**
       
    65 * Indicates the in call audio routing
       
    66 * preference to the phone (public/private)
       
    67 * This key has two special values, see EPSTelAudioOutput.
       
    68 * 
       
    69 * @type RProperty::EInt
       
    70 */          
       
    71 const TUint32 KTelAudioOutput = 0x00000001;
       
    72 enum EPSTelAudioOutput
       
    73     {
       
    74     EPSAudioPrivate = 0,
       
    75     EPSAudioPublic    
       
    76     };    
       
    77 
       
    78 /******************************************************************************
       
    79 * Number entry Information API UID 
       
    80 ******************************************************************************/
       
    81 const TUid KPSUidNEInformation = {0x102029A5};
       
    82 
       
    83 /**
       
    84 * Indication to Idle that whether number entry
       
    85 * is open in phone or not
       
    86 * NOTE:  deprecated in taco
       
    87 */
       
    88 const TUint32 KTelNumberEntryInfo = 0x00000001; 
       
    89 enum TPSTelNumberEntryInfo 
       
    90     {
       
    91     EPSTelNumberEntryClosed = 0,
       
    92     EPSTelNumberEntryOpen    
       
    93     };
       
    94 
       
    95 /*****************************************************************************
       
    96 * Telephony Generic Command API
       
    97 * This can be used for requesting simple services from
       
    98 * other process/application when it is inconvenient to implement
       
    99 * client/server or similar complex pattern.
       
   100 *****************************************************************************/
       
   101 const TUid KPSUidTelGenericCommand = {0x102029A7};
       
   102 
       
   103 /*
       
   104 * Command operation values that should be used with keys in 
       
   105 * Telephony Generic Command API. Client entity sets value
       
   106 * to EPSTelGenCmdPerform. Service provider sets value 
       
   107 * back to EPSTelGenCmdReset when command was succesfully 
       
   108 * completed. In case of failure it may set it to EPSTelGenCmdFail
       
   109 * to indicate error to requester.
       
   110 * 
       
   111 */
       
   112 enum {
       
   113     // Values to be set by service provider.
       
   114     EPSTelGenCmdFail = -1,
       
   115     EPSTelGenCmdReset,    
       
   116     
       
   117     // Client uses this value to request a service.
       
   118     EPSTelGenCmdPerform
       
   119     };
       
   120 
       
   121 /**
       
   122 * Command key for launching Log application.
       
   123 * @type RProperty::EInt
       
   124 */
       
   125 const TUint32 KTelGenCmdLaunchLogApp = 0x00000001;
       
   126 
       
   127 #endif      // TELINTERNALPSKEYS_H
       
   128 
       
   129 // End of file