voipplugins/sipconnectionprovider/inc/scppresencehandlerrequest.inl
branchRCL_3
changeset 22 d38647835c2e
parent 0 a4daefaec16c
equal deleted inserted replaced
21:f742655b05bf 22:d38647835c2e
       
     1 /*
       
     2 * Copyright (c) 2006-2007 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:  Inline functions
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // --------------------------------------------------------------------------
       
    20 // TScpReqId::TScpReqId
       
    21 // --------------------------------------------------------------------------
       
    22 //
       
    23 inline TScpReqId::TScpReqId() :
       
    24     iType( EUnknownReq )
       
    25     {
       
    26     }
       
    27 
       
    28 // --------------------------------------------------------------------------
       
    29 // TScpReqId::TScpReqId
       
    30 // --------------------------------------------------------------------------
       
    31 //
       
    32 inline TScpReqId::TScpReqId( const TXIMPRequestId& aId, TScpReqType aType ) :
       
    33     iReqId( aId ),
       
    34     iType( aType )
       
    35     {
       
    36     }
       
    37 
       
    38 // --------------------------------------------------------------------------
       
    39 // TScpReqId::SetId
       
    40 // --------------------------------------------------------------------------
       
    41 //
       
    42 inline void TScpReqId::SetId( const TXIMPRequestId& aId )
       
    43     {
       
    44     iReqId = aId;
       
    45     }
       
    46 
       
    47 // --------------------------------------------------------------------------
       
    48 // TScpReqId::SetType
       
    49 // --------------------------------------------------------------------------
       
    50 //
       
    51 inline void TScpReqId::SetType( TScpReqType aType )
       
    52     {
       
    53     iType = aType;
       
    54     }
       
    55 
       
    56 
       
    57 // --------------------------------------------------------------------------
       
    58 // TScpReqId::ReqId
       
    59 // --------------------------------------------------------------------------
       
    60 //
       
    61 inline const TXIMPRequestId& TScpReqId::ReqId()const
       
    62     {
       
    63     return iReqId;
       
    64     }
       
    65 
       
    66 // --------------------------------------------------------------------------
       
    67 // TScpReqId::Type
       
    68 // --------------------------------------------------------------------------
       
    69 //
       
    70 inline TScpReqType TScpReqId::Type() const
       
    71     {
       
    72     return iType;
       
    73     }
       
    74 
       
    75 // end of file