connectionutilities/ConnectionDialogs/inc/ConnectionInfo.inl
changeset 0 5a93021fdf25
child 24 05bc53fe583b
equal deleted inserted replaced
-1:000000000000 0:5a93021fdf25
       
     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: 
       
    15 *      Inline method definitions of the class CConnectionInfo
       
    16 *
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 
       
    22 #ifndef __CONNECTIONINFO_INL__
       
    23 #define __CONNECTIONINFO_INL__
       
    24 
       
    25 
       
    26 // ================= MEMBER FUNCTIONS =======================
       
    27 // ---------------------------------------------------------
       
    28 // CConnectionInfo::Id
       
    29 // ---------------------------------------------------------
       
    30 //
       
    31 const TUint32 CConnectionInfo::Id() const
       
    32     {
       
    33     return iId;
       
    34     }
       
    35 
       
    36 
       
    37 // ---------------------------------------------------------
       
    38 // CConnectionInfo::Name()
       
    39 // ---------------------------------------------------------
       
    40 //
       
    41 const TDesC& CConnectionInfo::Name() const
       
    42     { 
       
    43     return *iName; 
       
    44     }
       
    45 
       
    46 
       
    47 // ---------------------------------------------------------
       
    48 // CConnectionInfo::ListItem()
       
    49 // ---------------------------------------------------------
       
    50 //
       
    51 const TDesC& CConnectionInfo::ListItem() const
       
    52     { 
       
    53     return *iListItem; 
       
    54     }
       
    55 
       
    56 
       
    57 // ---------------------------------------------------------
       
    58 // CConnectionInfo::VPNIapId()
       
    59 // ---------------------------------------------------------
       
    60 //
       
    61 const TUint32 CConnectionInfo::VPNIapId() const
       
    62     {
       
    63     return iVPN_iap_id;
       
    64     }
       
    65 
       
    66 
       
    67 // ---------------------------------------------------------
       
    68 // CConnectionInfo::DestinationId()
       
    69 // ---------------------------------------------------------
       
    70 //
       
    71 const TUint32 CConnectionInfo::DestinationId() const
       
    72     {
       
    73     return iDestinationId;
       
    74     }
       
    75 
       
    76 
       
    77 // ---------------------------------------------------------
       
    78 // CConnectionInfo::VPNIapId()
       
    79 // ---------------------------------------------------------
       
    80 //
       
    81 const TBool CConnectionInfo::IsVPN() const
       
    82     {
       
    83     return iIsVPN;
       
    84     }
       
    85 
       
    86 
       
    87 #endif // __CONNECTINGNOTENOTIF_INL__
       
    88 
       
    89 // End of File