|
1 /* |
|
2 * Copyright (c) 2009 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: Telephony Multimedia Service |
|
15 * |
|
16 */ |
|
17 |
|
18 #include <tms.h> |
|
19 #include "tmscallbodyimpl.h" |
|
20 |
|
21 using namespace TMS; |
|
22 |
|
23 TMSCallBodyImpl::TMSCallBodyImpl() |
|
24 { |
|
25 } |
|
26 |
|
27 TMSCallBodyImpl::~TMSCallBodyImpl() |
|
28 { |
|
29 } |
|
30 |
|
31 gint TMSCallBodyImpl::Create(TMSCallBody*& bodyimpl) |
|
32 { |
|
33 gint ret(TMS_RESULT_INSUFFICIENT_MEMORY); |
|
34 TMSCallBodyImpl* self = new TMSCallBodyImpl; |
|
35 if (self) |
|
36 { |
|
37 ret = self->PostConstruct(); |
|
38 if (ret != TMS_RESULT_SUCCESS) |
|
39 { |
|
40 delete self; |
|
41 self = NULL; |
|
42 } |
|
43 } |
|
44 bodyimpl = self; |
|
45 return ret; |
|
46 } |
|
47 |
|
48 gint TMSCallBodyImpl::PostConstruct() |
|
49 { |
|
50 gint ret(TMS_RESULT_SUCCESS); |
|
51 return ret; |
|
52 } |
|
53 |
|
54 TMSCallType TMSCallBodyImpl::GetCallType() |
|
55 { |
|
56 TMSCallType ctype(-1); |
|
57 return ctype; |
|
58 } |
|
59 |
|
60 gint TMSCallBodyImpl::GetCallContextId(guint& /*ctxid*/) |
|
61 { |
|
62 gint ret(TMS_RESULT_SUCCESS); |
|
63 return ret; |
|
64 } |
|
65 |
|
66 gint TMSCallBodyImpl::CreateStream(TMSStreamType /*type*/, TMSStream*& /*strm*/) |
|
67 { |
|
68 gint ret(TMS_RESULT_SUCCESS); |
|
69 return ret; |
|
70 } |
|
71 |
|
72 gint TMSCallBodyImpl::DeleteStream(TMSStream*& /*strm*/) |
|
73 { |
|
74 gint ret(TMS_RESULT_SUCCESS); |
|
75 return ret; |
|
76 } |
|
77 |
|
78 // End of file |