rtp/rtpstack/inc/rtpmanagerdef.inl
changeset 0 307788aac0a8
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 /*
       
     2 * Copyright (c) 2004-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 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef RtpManagerDef_INL
       
    22 #define RtpManagerDef_INL
       
    23 
       
    24 #include "rtpmanagerdef.h"
       
    25 
       
    26 // ---------------------------------------------------------------------------
       
    27 // Constructor
       
    28 // 
       
    29 // ---------------------------------------------------------------------------
       
    30 //
       
    31 TArrayStore::TArrayStore( const TRtpId aMagicKey )
       
    32     : iMagicKey( aMagicKey ),
       
    33       iSessionAddress( 0 ),
       
    34       iObjectType( ESession )
       
    35     {
       
    36     }
       
    37 
       
    38 // ---------------------------------------------------------------------------
       
    39 // Constructor
       
    40 // 
       
    41 // ---------------------------------------------------------------------------
       
    42 //
       
    43 TArrayStore::TArrayStore( const TRtpId aMagicKey, const TUint aSessionAddress, 
       
    44                           const TObjectType aObjectType ) 
       
    45     : iMagicKey( aMagicKey ),
       
    46       iSessionAddress( aSessionAddress ),
       
    47       iObjectType( aObjectType )
       
    48     {
       
    49     }
       
    50 
       
    51 // ---------------------------------------------------------------------------
       
    52 // const TRtpId TArrayStore::GetMagicKey()
       
    53 // 
       
    54 // ---------------------------------------------------------------------------
       
    55 //
       
    56 TRtpId TArrayStore::GetMagicKey() const
       
    57     {
       
    58     return iMagicKey;
       
    59     }
       
    60 
       
    61 
       
    62 // ---------------------------------------------------------------------------
       
    63 // const TUint TArrayStore::GetSessionAddress()
       
    64 // 
       
    65 // ---------------------------------------------------------------------------
       
    66 //
       
    67 TUint TArrayStore::GetSessionAddress() const
       
    68     {
       
    69     return iSessionAddress;
       
    70     }
       
    71 
       
    72 // ---------------------------------------------------------------------------
       
    73 // const TObjectType TArrayStore::GetObjectType()
       
    74 // 
       
    75 // ---------------------------------------------------------------------------
       
    76 //
       
    77 TObjectType TArrayStore::GetObjectType() const
       
    78     {
       
    79     return iObjectType;
       
    80     }
       
    81 
       
    82 #endif
       
    83 
       
    84 // End of file