epoc32/include/es_wsms.inl
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     7 //
     8 // Initial Contributors:
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
     9 // Nokia Corporation - initial contribution.
    10 //
    10 //
    11 // Contributors:
    11 // Contributors:
    13 // Description:
    13 // Description:
    14 // WS_ADDR.INL
    14 // WS_ADDR.INL
    15 // Publich access to the WapPorts and the WapAddresses - this file is exported
    15 // Publich access to the WapPorts and the WapAddresses - this file is exported
    16 // 
    16 // 
    17 //
    17 //
    18 
       
    19 
       
    20 
       
    21 
    18 
    22 /**
    19 /**
    23  @file
    20  @file
    24  
    21  
    25  Gets the WAP port number.
    22  Gets the WAP port number.
    69  *  @publishedAll
    66  *  @publishedAll
    70  *  @released
    67  *  @released
    71  */
    68  */
    72 inline TPtrC8 TWapAddr::WapAddress() const
    69 inline TPtrC8 TWapAddr::WapAddress() const
    73     {
    70     {
    74     return TPtrC8(UserPtr(),CONST_CAST(TWapAddr*,this)->GetUserLen());
    71     return TPtrC8(UserPtr(),const_cast<TWapAddr*>(this)->GetUserLen());
    75     }
    72     }
    76 
    73 
    77 
    74 
    78 /**
    75 /**
    79  *  Comparison operator.
    76  *  Comparison operator.