iptel_plat/vcc_api/inc/vccsubscribekeys.h
branchRCL_3
changeset 21 f742655b05bf
parent 20 65a3ef1d5bd0
child 22 d38647835c2e
equal deleted inserted replaced
20:65a3ef1d5bd0 21:f742655b05bf
     1 /*
       
     2 * Copyright (c) 2007-2008 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:   Vcc application IDs for Publish&Subscribe API.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef VCCSUBSCRIBEKEYS_H_
       
    21 #define VCCSUBSCRIBEKEYS_H_
       
    22 
       
    23 /**
       
    24  * Main PS property category Vcc.
       
    25  * @note uid is not valid!!!
       
    26  */
       
    27 const TUid KPSVccPropertyCategory = { 0x10207FD9 };
       
    28 
       
    29 /**
       
    30  * PS property key KVccPropKeyHoRequest for category Vcc.
       
    31  * Indicates the state of handover as TVccUiRequest.
       
    32  * UI makes HO request by updating this key's value. VCC server component
       
    33  * observers it.
       
    34  */
       
    35  const TUint32 KVccPropKeyHoRequest = 0x00000001;
       
    36 
       
    37 /**
       
    38 * PS property key KVccPropKeyHoStatus for category Vcc.
       
    39 * Indicates the state of handover on the HO server as TVccHoStatus.
       
    40 * Only VCC server components update this value. Other components may observer it.
       
    41 */
       
    42 const TUint32 KVccPropKeyHoStatus = 0x00000002;
       
    43 
       
    44 /**
       
    45 * PS property key KVccPropHoError for category Vcc.
       
    46 * Indicates the Ho error code.
       
    47 */
       
    48 const TUint32 KVccPropKeyHoError = 0x00000003;
       
    49 
       
    50 /**
       
    51  * The key values used with property KVccPropKeyHoRequest.
       
    52  */
       
    53 enum TVccHoRequest
       
    54      {
       
    55      EVccNoRequestOngoing = 3000, // Empty state, ok
       
    56 
       
    57      EVccManualStartCsToPsHoRequest, // User has requested to start CS->PS HO
       
    58      EVccManualCancelCsToPsHoRequest, // User has requested to cancel CS->PS HO
       
    59 
       
    60      EVccManualStartPsToCsHoRequest, // User has requested to start PS->CS HO
       
    61      EVccManualCancelPsToCsHoRequest, // User has requested to cancel PS->CS HO
       
    62 
       
    63      EVccAutomaticStartCsToPsHoRequest, // User has requested to start CS->PS HO
       
    64      EVccAutomaticCancelCsToPsHoRequest, // User has requested to cancel CS->PS HO
       
    65      EVccAutomaticStartCsToPsHoRequestIfSingleCall, // User has requested to 
       
    66                                                     // start CS->PS HO, but ho is 
       
    67                                                     // forbidden if there are 
       
    68                                                     // held or waiting calls.
       
    69 
       
    70      EVccAutomaticStartPsToCsHoRequest, // User has requested to start PS->CS HO
       
    71      EVccAutomaticCancelPsToCsHoRequest, // User has requested to cancel PS->CS HO
       
    72      EVccAutomaticStartPsToCsHoRequestIfSingleCall, // User has requested to 
       
    73                                                          // start PS->CS HO, but ho is 
       
    74                                                          // forbidden if there are 
       
    75                                                          // held or waiting calls.
       
    76 
       
    77      EVccUndefinedRequest   //nok, key value could not be fetched
       
    78 
       
    79      };
       
    80 
       
    81 /**
       
    82 * The key values used with property KVccPropKeyHoStatus.
       
    83 */
       
    84 enum TVccHoStatus
       
    85     {
       
    86     EVccHoStateIdle = 4000,     // Everything ok
       
    87     EVccCsToPsHoStarted,        // CS->PS HO started
       
    88     EVccCsToPsHoInprogress,     // CS->PS HO in progress.
       
    89     EVccCsToPsHoSuccessful,     // CS->PS HO ended successfully.
       
    90     EVccCsToPsHoFailure,        // HO server encountered failure.
       
    91 
       
    92     EVccPsToCsHoStarted,        // PS->CS HO started
       
    93     EVccPsToCsHoInprogress,     // PS->CS  HO in progress.
       
    94     EVccPsToCsHoSuccessful,     // PS->CS  HO ended successfully.
       
    95     EVccPsToCsHoFailure,        // HO server encountered failure.
       
    96     EVccHoStateUnknown,         // nok, key value could not be fetched
       
    97     EVccHoUnavailable,          // HO cannot be done (no other network etc.)
       
    98     EVccCsToPsNotAllowed,       // No ho to wlan
       
    99     EVccPsToCsNotAllowed,       // No ho to GSM
       
   100     EVccHoStateIdleIfSingleCall, // No ho if multicall situation, if singe call both directions ok
       
   101     EVccHoAllowedToCsIfSingleCall, // Ho allowed to CS if not in multicall situation
       
   102     EVccHoAllowedToPsIfSingleCall  // Ho allowed to PS if not in multicall situation
       
   103 
       
   104     };
       
   105 
       
   106 #endif /*VCCSUBSCRIBEKEYS_H_*/