vpnc_plat/vpnapi/inc/vpnsipobserverpskeys.h
branchRCL_3
changeset 8 032d3a818f49
equal deleted inserted replaced
4:29b591713d44 8:032d3a818f49
       
     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 : P&S key definition for communication between VPN client
       
    15 *               and SIP Profile server
       
    16 *
       
    17 */
       
    18 
       
    19 #ifndef VPNSIPOBSERVERPSKEYS_H
       
    20 #define VPNSIPOBSERVERPSKEYS_H
       
    21 
       
    22 
       
    23 /**
       
    24 * PubSub keys
       
    25 */
       
    26 
       
    27 const TUid KPSVpnSipUid = {0x101FD285};  // UID of vpnapi
       
    28 
       
    29 const TUint KVpnSipState = 0x00000001;
       
    30 
       
    31 enum TVpnSipState
       
    32 {
       
    33     /** Initial value */
       
    34     EVpnUndefined = 0,
       
    35     /** Vpn is about to be started */
       
    36     EVpnInitiating,                // VPN -> SIP
       
    37     /** Vpn ended */
       
    38     EVpnTerminated,                // VPN -> SIP
       
    39     /** Deregister complete */
       
    40     ESipDeregisterCompleted        // SIP -> VPN
       
    41 };
       
    42 
       
    43 
       
    44 #endif  // VPNSIPOBSERVERPSKEYS_H