|
1 /* |
|
2 * Copyright (c) 2008 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: VOIP Audio Services |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include "VoIPDataBufferImpl.h" |
|
20 |
|
21 |
|
22 // --------------------------------------------------------------------------- |
|
23 // Contructor |
|
24 // --------------------------------------------------------------------------- |
|
25 // |
|
26 CVoIPDataBuffer::CVoIPDataBuffer() |
|
27 { |
|
28 } |
|
29 |
|
30 // --------------------------------------------------------------------------- |
|
31 // Destructor |
|
32 // --------------------------------------------------------------------------- |
|
33 // |
|
34 EXPORT_C CVoIPDataBuffer::~CVoIPDataBuffer() |
|
35 { |
|
36 } |
|
37 |
|
38 // --------------------------------------------------------------------------- |
|
39 // Constructor |
|
40 // --------------------------------------------------------------------------- |
|
41 // |
|
42 void CVoIPDataBuffer::ConstructL(CVoIPDataBufferImpl* aDataBufferImpl) |
|
43 { |
|
44 iVoIPDataBufferImpl = aDataBufferImpl; |
|
45 } |
|
46 |
|
47 // --------------------------------------------------------------------------- |
|
48 // CVoIPDataBuffer::GetPayloadPtr |
|
49 // --------------------------------------------------------------------------- |
|
50 // |
|
51 EXPORT_C void CVoIPDataBuffer::GetPayloadPtr(TPtr8& aPayloadPtr) |
|
52 { |
|
53 iVoIPDataBufferImpl->GetPayloadPtr(aPayloadPtr); |
|
54 } |
|
55 |
|
56 // --------------------------------------------------------------------------- |
|
57 // CVoIPDataBuffer::SetPayloadPtr |
|
58 // --------------------------------------------------------------------------- |
|
59 // |
|
60 EXPORT_C void CVoIPDataBuffer::SetPayloadPtr(TPtr8 aPayloadPtr) |
|
61 { |
|
62 iVoIPDataBufferImpl->SetPayloadPtr(aPayloadPtr); |
|
63 } |
|
64 |
|
65 // --------------------------------------------------------------------------- |
|
66 // CVoIPDataBuffer::GetBufferType |
|
67 // --------------------------------------------------------------------------- |
|
68 // |
|
69 EXPORT_C void CVoIPDataBuffer::GetBufferType( |
|
70 CVoIPDataBuffer::TVoIPBufferType& aType) |
|
71 { |
|
72 iVoIPDataBufferImpl->GetBufferType(aType); |
|
73 } |
|
74 |
|
75 |
|
76 // End of file |