equal
deleted
inserted
replaced
|
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 RtpStpPacket_INL |
|
22 #define RtpStpPacket_INL |
|
23 |
|
24 void CRtpStpPacket::RegisterRtpObserver( MRtpObserver& aObserver ) |
|
25 { |
|
26 iObserver = &aObserver; |
|
27 }; |
|
28 |
|
29 void CRtpStpPacket::UnregisterRtpObserver() |
|
30 { |
|
31 iObserver = NULL; |
|
32 }; |
|
33 |
|
34 void CRtpStpPacket::SetSize( TInt aSize ) |
|
35 { |
|
36 iSize = aSize; |
|
37 }; |
|
38 TInt CRtpStpPacket::Size() const |
|
39 { |
|
40 return iSize; |
|
41 }; |
|
42 |
|
43 TUint8* CRtpStpPacket::Data() const |
|
44 { |
|
45 return iData; |
|
46 }; |
|
47 |
|
48 HBufC8* CRtpStpPacket::GetHBuf() const |
|
49 { |
|
50 return iBuf; |
|
51 }; |
|
52 |
|
53 const TPtrC8 CRtpStpPacket::Des() const |
|
54 { |
|
55 return TPtrC8( iData, iSize ); |
|
56 }; |
|
57 |
|
58 #endif |
|
59 |
|
60 // End of file |