syncmlfw/ds/settings/src/nsmlroam.cpp
changeset 0 b497e44ab2fc
equal deleted inserted replaced
-1:000000000000 0:b497e44ab2fc
       
     1 /*
       
     2 * Copyright (c) 2004 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:  Multiple bearers
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "nsmlroam.h"
       
    20 
       
    21 // --------------------------------
       
    22 // CNSmlRoamItem::CNSmlRoamItem()
       
    23 // Constructor
       
    24 // --------------------------------
       
    25 //
       
    26 CNSmlRoamItem::CNSmlRoamItem()
       
    27 	{
       
    28 	}
       
    29 
       
    30 // --------------------------------
       
    31 // CNSmlRoamItem::CNSmlRoamItem(TInt aProfileId, TUint32 aIAPId, TInt aPriority)
       
    32 // Constructor
       
    33 // --------------------------------
       
    34 //
       
    35 CNSmlRoamItem::CNSmlRoamItem(TInt aProfileId, TUint32 aIAPId, TInt aPriority)
       
    36 : iProfileId( aProfileId), iIAPId( aIAPId), iPriority( aPriority)
       
    37 	{
       
    38 	}
       
    39 
       
    40 // --------------------------------
       
    41 // CNSmlRoamItem::~CNSmlRoamItem()
       
    42 // Destructor
       
    43 // --------------------------------
       
    44 //
       
    45 CNSmlRoamItem::~CNSmlRoamItem()
       
    46 	{
       
    47 	}
       
    48 
       
    49 // --------------------------------
       
    50 // CNSmlRoamItem::ProfileId()
       
    51 // Returns profile id
       
    52 // --------------------------------
       
    53 //
       
    54 TInt CNSmlRoamItem::ProfileId() { return iProfileId; }
       
    55 
       
    56 // --------------------------------
       
    57 // CNSmlRoamItem::IapId()
       
    58 // Returns IAP id
       
    59 // --------------------------------
       
    60 //
       
    61 TUint32 CNSmlRoamItem::IapId() { return iIAPId; }
       
    62 
       
    63 // --------------------------------
       
    64 // CNSmlRoamItem::Priority()
       
    65 // Returns priority
       
    66 // --------------------------------
       
    67 //
       
    68 TInt CNSmlRoamItem::Priority() { return iPriority; }
       
    69 
       
    70