44
|
1 |
// TestTelephonyCallSharedData.cpp
|
|
2 |
// Copyright (c) Symbian Software Ltd 2008. All rights reserved.
|
|
3 |
//
|
|
4 |
// Implementation of the Class CTestTelephonyCallSharedData
|
|
5 |
|
|
6 |
// CTSY include
|
|
7 |
|
|
8 |
// user include
|
|
9 |
#include "testltsycallshareddata.h"
|
|
10 |
|
|
11 |
|
|
12 |
CTestLtsyCallSharedData* CTestLtsyCallSharedData::NewL()
|
|
13 |
{
|
|
14 |
CTestLtsyCallSharedData* self = new (ELeave) CTestLtsyCallSharedData;
|
|
15 |
CleanupStack::PushL(self);
|
|
16 |
|
|
17 |
self->ConstructL();
|
|
18 |
|
|
19 |
CleanupStack::Pop();
|
|
20 |
return self;
|
|
21 |
}
|
|
22 |
|
|
23 |
CTestLtsyCallSharedData::~CTestLtsyCallSharedData()
|
|
24 |
{
|
|
25 |
iVoiceLine.Close();
|
|
26 |
|
|
27 |
iVoiceCallOne.Close();
|
|
28 |
|
|
29 |
iVoiceCallTwo.Close();
|
|
30 |
|
|
31 |
iEmergencyCall.Close();
|
|
32 |
|
|
33 |
iMmCustomAPI.Close();
|
|
34 |
|
|
35 |
delete iThirdPartyTel;
|
|
36 |
iThirdPartyTel = NULL;
|
|
37 |
}
|
|
38 |
|
|
39 |
|
|
40 |
CTestLtsyCallSharedData::CTestLtsyCallSharedData()
|
|
41 |
{
|
|
42 |
|
|
43 |
}
|
|
44 |
|
|
45 |
|
|
46 |
void CTestLtsyCallSharedData::ConstructL()
|
|
47 |
{
|
|
48 |
|
|
49 |
}
|
|
50 |
|
|
51 |
RLine& CTestLtsyCallSharedData::VoiceLine()
|
|
52 |
{
|
|
53 |
return iVoiceLine;
|
|
54 |
}
|
|
55 |
|
|
56 |
RMobileCall& CTestLtsyCallSharedData::VoiceCallOne()
|
|
57 |
{
|
|
58 |
return iVoiceCallOne;
|
|
59 |
}
|
|
60 |
|
|
61 |
RMobileCall& CTestLtsyCallSharedData::VoiceCallTwo()
|
|
62 |
{
|
|
63 |
return iVoiceCallTwo;
|
|
64 |
}
|
|
65 |
|
|
66 |
RMobileCall& CTestLtsyCallSharedData::EmergencyCall()
|
|
67 |
{
|
|
68 |
return iEmergencyCall;
|
|
69 |
}
|
|
70 |
|
|
71 |
RMmCustomAPI& CTestLtsyCallSharedData::MmCustomAPI()
|
|
72 |
{
|
|
73 |
return iMmCustomAPI;
|
|
74 |
}
|
|
75 |
|
|
76 |
CTelephony*& CTestLtsyCallSharedData::ThirdPartyTelephony()
|
|
77 |
{
|
|
78 |
return iThirdPartyTel;
|
|
79 |
}
|
|
80 |
|
|
81 |
// end of file
|