phonesrv_plat/telephony_network_information_api/inc/NetworkHandlingDomainPSKeys.h
changeset 0 ff3b6d0fd310
child 19 7d48bed6ce0c
equal deleted inserted replaced
-1:000000000000 0:ff3b6d0fd310
       
     1 /*
       
     2 * Copyright (c) 2005 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:  Domain Publish & Subscribe keys for network handling
       
    15  *
       
    16  *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef NETWORKHANDLINGDOMAINPSKEYS_H
       
    21 #define NETWORKHANDLINGDOMAINPSKEYS_H
       
    22 
       
    23 const TUid KPSUidNetworkInfo = { 0x10202999 };
       
    24 /**
       
    25 * Used to indicate status of homezone
       
    26 *
       
    27 * Possible values:
       
    28 * 0: None
       
    29 * 1: City zone
       
    30 * 2: Home zone
       
    31  */
       
    32 const TUint KNWHomeZoneStatus = 0x00000001;
       
    33 
       
    34 enum KNWZoneStatus
       
    35     {
       
    36 	ENWNone,
       
    37 	ENWCityZone, 
       
    38 	ENWHomeZone	
       
    39     };
       
    40 
       
    41 /**
       
    42 * Used to indicate mode of network
       
    43 *
       
    44 * Possible values:
       
    45 * 0: Unknown mode, Default value
       
    46 * 1: Gsm mode
       
    47 * 2: Cdma mode
       
    48 * 3: Wcdma mode
       
    49 */
       
    50 const TUint KNWTelephonyNetworkMode = 0x00000002;
       
    51 
       
    52 enum KNWNetworkMode
       
    53     {
       
    54     ENWNetworkModeUnknown,
       
    55     ENWNetworkModeGsm,
       
    56     ENWNetworkModeCdma,
       
    57     ENWNetworkModeWcdma
       
    58     };
       
    59 /**
       
    60 * Used to indicate network registration status
       
    61 *
       
    62 * Possible values:
       
    63 * 0: Registration status unknown
       
    64 * 1: Not registered, no service
       
    65 * 2: Not registered, service available for emergency calls only
       
    66 * 3: Not registered, searching for network
       
    67 * 4: Registered, network busy
       
    68 * 5: Registered on home network
       
    69 * 6: Registration denied 
       
    70 * 7: Registered on roaming network
       
    71 */
       
    72 const TUint KNWRegistrationStatus = 0x00000003;
       
    73 
       
    74 enum TNWNetworkRegistrationStatus
       
    75     {
       
    76     ENWStatusRegistrationUnknown,
       
    77     ENWStatusNotRegisteredNoService,
       
    78     ENWStatusNotRegisteredEmergencyOnly,
       
    79     ENWStatusNotRegisteredSearching,
       
    80     ENWStatusRegisteredBusy,
       
    81     ENWStatusRegisteredOnHomeNetwork,
       
    82     ENWStatusRegistrationDenied,
       
    83     ENWStatusRegisteredRoaming
       
    84     };    
       
    85 
       
    86 #endif //NETWORKHANDLINGDOMAINPSKEYS_H