inc/mussesseioninformationapi.h
changeset 0 f0cf47e981f9
child 31 33a5d2bbf6fc
equal deleted inserted replaced
-1:000000000000 0:f0cf47e981f9
       
     1 /*
       
     2 * Copyright (c) 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:  ?Description
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MUSSESSIONINFORMATIONAPI_H
       
    20 #define MUSSESSIONINFORMATIONAPI_H
       
    21 
       
    22 #include <e32cmn.h>
       
    23 #include "musuid.hrh"
       
    24 
       
    25 /**
       
    26  *  A namespace container for MultimediaSharing Resource API constants.
       
    27  *
       
    28  *  @since S60 v3.2
       
    29  */
       
    30 namespace NMusSessionInformationApi
       
    31     {
       
    32     /**  The category of these P&S properties. */
       
    33 #ifndef UNIT_TESTING  
       
    34      const TUid KCategoryUid = { 0x101F85EE }; // UID3 of AlwaysOnlineServer  
       
    35 #else
       
    36   const TUid KCategoryUid = { 0x01700a21 }; // UID3 of EunitTest of AO
       
    37 #endif
       
    38 
       
    39     /**  Contains the call event state */
       
    40     const TInt KMusCallEvent( 0x1028239F );
       
    41 
       
    42     /**  Contains the telephone number of call */
       
    43     const TInt KMusTelNumber( 0x102823A0 );    
       
    44 
       
    45     /**  Contains the Number of Active Calls */
       
    46     const TInt KMusCallCount( 0x102823A1 );    
       
    47 
       
    48     /** Contains the possible values of call event */
       
    49     enum TMusCallEvent
       
    50         {
       
    51         ENoCall,
       
    52         ECallConnected,
       
    53         ECallHold,       
       
    54         EConferenceCall
       
    55         };
       
    56 
       
    57     /**  Contains the call direction */
       
    58     const TInt KMusCallDirection( 0x102823A2 );
       
    59 
       
    60     /** Contains the call direction */
       
    61     enum TMusCallDirection
       
    62         {
       
    63         ENoDirection,
       
    64         ECallOrginated,
       
    65         ECallTerminated
       
    66         };
       
    67 
       
    68     /**  Contains the state of options response. */
       
    69     const TInt KMUSForbidden( 0x102823A3 );
       
    70     /**  Contains the possible values of options response. */
       
    71     enum TMUSForbidden
       
    72         {
       
    73         EMUSAllowed = 1,
       
    74         EMUSForbidden
       
    75         };
       
    76     
       
    77     /**  Contains the call privacy */
       
    78     const TInt KMUSPrivacy( 0x102823A4 );
       
    79     /**  Contains the possible values for call privacy*/
       
    80     enum TMusCallPrivacy
       
    81         {
       
    82         EPrivacyOn = 1,
       
    83         EPrivacyOff
       
    84         };
       
    85     
       
    86     /**  Phone's CLIR setting. This is used in MO case to determine if the
       
    87      *   caller's phone number/id is sent to remote party */
       
    88     const TInt KMusClirSetting( 0x102823A5 );
       
    89     /**  Possible values for KMusClirSetting */
       
    90     enum TMusClirSetting
       
    91         {
       
    92         ESendOwnNumber,
       
    93         EDoNotSendOwnNumber
       
    94         };
       
    95     }
       
    96 
       
    97 #endif // MUSRESOURCEPROPERTIES_H