|
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: Implementation of the call operation |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDE FILES |
|
20 #include "ccacontactorheaders.h" |
|
21 |
|
22 |
|
23 // ============================ MEMBER FUNCTIONS =============================== |
|
24 |
|
25 // ----------------------------------------------------------------------------- |
|
26 // CCCAContactorCallOperation::CCCAContactorCallOperation() |
|
27 // ----------------------------------------------------------------------------- |
|
28 // |
|
29 CCCAContactorCallOperation::CCCAContactorCallOperation(const TDesC& aParam, const TDesC8& aContactLinkArray) : CCCAContactorOperation(aParam), |
|
30 iContactLinkArray(aContactLinkArray) |
|
31 { |
|
32 } |
|
33 |
|
34 // ----------------------------------------------------------------------------- |
|
35 // CCCAContactorCallOperation::~CCCAContactorCallOperation() |
|
36 // ----------------------------------------------------------------------------- |
|
37 // |
|
38 CCCAContactorCallOperation::~CCCAContactorCallOperation() |
|
39 { |
|
40 } |
|
41 |
|
42 // ----------------------------------------------------------------------------- |
|
43 // CCCAContactorCallOperation::NewLC() |
|
44 // ----------------------------------------------------------------------------- |
|
45 // |
|
46 CCCAContactorCallOperation* CCCAContactorCallOperation::NewLC(const TDesC& aParam, const TDesC8& aContactLinkArray) |
|
47 { |
|
48 CCCAContactorCallOperation* self = new (ELeave)CCCAContactorCallOperation(aParam, aContactLinkArray); |
|
49 CleanupStack::PushL(self); |
|
50 self->ConstructL(); |
|
51 return self; |
|
52 } |
|
53 |
|
54 // ----------------------------------------------------------------------------- |
|
55 // CCCAContactorCallOperation::NewL() |
|
56 // ----------------------------------------------------------------------------- |
|
57 // |
|
58 CCCAContactorCallOperation* CCCAContactorCallOperation::NewL(const TDesC& aParam, const TDesC8& aContactLinkArray) |
|
59 { |
|
60 CCCAContactorCallOperation* self=CCCAContactorCallOperation::NewLC(aParam, aContactLinkArray); |
|
61 CleanupStack::Pop(); // self; |
|
62 return self; |
|
63 } |
|
64 |
|
65 // ----------------------------------------------------------------------------- |
|
66 // CCCAContactorCallOperation::ConstructL() |
|
67 // ----------------------------------------------------------------------------- |
|
68 // |
|
69 void CCCAContactorCallOperation::ConstructL() |
|
70 { |
|
71 |
|
72 } |
|
73 |
|
74 // ----------------------------------------------------------------------------- |
|
75 // CCCAContactorCallOperation::ExecuteLD() |
|
76 // ----------------------------------------------------------------------------- |
|
77 // |
|
78 void CCCAContactorCallOperation::ExecuteLD() |
|
79 { |
|
80 CleanupStack::PushL(this); |
|
81 CCCAPhoneCall::ExecuteL(iParam, iContactLinkArray, CCCAPhoneCall::ECCACallTypeVoice); |
|
82 CleanupStack::PopAndDestroy(this); |
|
83 } |
|
84 // End of File |