ipcm_plat/connection_monitor_extension_api/inc/connectionmonitorpskeys.h
changeset 53 4af712113915
equal deleted inserted replaced
47:cb7afde124a3 53:4af712113915
       
     1 /*
       
     2 * Copyright (c) 2010 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:  Connection Monitor Publish & Subscribe keys.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CONNECTIONMONITORPSKEYS_H
       
    20 #define CONNECTIONMONITORPSKEYS_H
       
    21 
       
    22 /**
       
    23  * Connection Monitor RProperty category.
       
    24  */
       
    25 const TUid KConnectionMonitorPS = {0x101F6CF0};
       
    26 
       
    27 /**
       
    28  * Dial-Up override key.
       
    29  * Used only when dial-up override feature is enabled. The purpose for this
       
    30  * feature is to stop and block any packetdata connections while a dial-up
       
    31  * connection is beeing established in single PDP context networks.
       
    32  */
       
    33 const TUint KDialUpConnection = 0x00000001;
       
    34 
       
    35 /**
       
    36  * Values for KDialUpConnection key.
       
    37  */
       
    38 enum TDialUpStates
       
    39     {
       
    40     /**
       
    41      * Can be used to indicate to Connection Monitor Server that a dial-up
       
    42      * connection has ended. If the dial-up connection setup fails, this can be
       
    43      * used to restore normal packetdata connectivity a little faster in some
       
    44      * error situations.
       
    45      */
       
    46     EConnMonDialUpClosed,
       
    47     /**
       
    48      * Indicates to Connection Monitor Server that a Dial-Up connection is
       
    49      * starting. Connection Monitor will stop any active packetdata connection
       
    50      * and block further packetdata connections during the dial-up connection
       
    51      * setup.
       
    52      */
       
    53     EConnMonDialUpInit,
       
    54     /**
       
    55      * Connection Monitor Server will indicate with this value that any
       
    56      * preparations for an upcoming dial-up connection are completed.
       
    57      */
       
    58     EConnMonReady
       
    59     };
       
    60 
       
    61 #endif // CONNECTIONMONITORPSKEYS_H