|
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 RtpSessionDef_INL |
|
22 #define RtpSessionDef_INL |
|
23 |
|
24 #include "rtpsessiondef.h" |
|
25 |
|
26 // --------------------------------------------------------------------------- |
|
27 // C++ constructor |
|
28 // --------------------------------------------------------------------------- |
|
29 // |
|
30 TStream::TStream( const TRtpId aMagicKey ) |
|
31 : iMagicKey( aMagicKey ), iStreamAddress( 0 ) |
|
32 { |
|
33 }; |
|
34 |
|
35 // --------------------------------------------------------------------------- |
|
36 // C++ constructor |
|
37 // --------------------------------------------------------------------------- |
|
38 // |
|
39 TStream::TStream( const TRtpId aMagicKey, const TUint aStreamAddress ) |
|
40 : iMagicKey( aMagicKey ), iStreamAddress( aStreamAddress ) |
|
41 { |
|
42 }; |
|
43 |
|
44 // --------------------------------------------------------------------------- |
|
45 // C++ constructor |
|
46 // --------------------------------------------------------------------------- |
|
47 // |
|
48 const TRtpId TStream::GetMagicKey() const |
|
49 { |
|
50 return iMagicKey; |
|
51 }; |
|
52 |
|
53 // --------------------------------------------------------------------------- |
|
54 // C++ constructor |
|
55 // --------------------------------------------------------------------------- |
|
56 // |
|
57 const TUint TStream::GetStreamAddress() const |
|
58 { |
|
59 return iStreamAddress; |
|
60 }; |
|
61 |
|
62 #endif |
|
63 |
|
64 // End of file |