|
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 CPhoneContinueEmergencyCallCommand. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDE FILES |
|
20 #include "phonelogger.h" |
|
21 #include "cphonecontinueemergencycallcommand.h" |
|
22 #include "pevirtualengine.h" |
|
23 |
|
24 // ================= MEMBER FUNCTIONS ======================= |
|
25 |
|
26 // --------------------------------------------------------- |
|
27 // CPhoneContinueEmergencyCallCommand::CPhoneContinueEmergencyCallCommand |
|
28 // --------------------------------------------------------- |
|
29 // |
|
30 CPhoneContinueEmergencyCallCommand::CPhoneContinueEmergencyCallCommand( |
|
31 MPhoneEngineMessageSender& aEngineMessageSender ) : |
|
32 iEngineMessageSender( aEngineMessageSender ) |
|
33 { |
|
34 } |
|
35 |
|
36 // --------------------------------------------------------- |
|
37 // CPhoneContinueEmergencyCallCommand::ConstructL |
|
38 // --------------------------------------------------------- |
|
39 // |
|
40 void CPhoneContinueEmergencyCallCommand::ConstructL() |
|
41 { |
|
42 } |
|
43 |
|
44 // --------------------------------------------------------- |
|
45 // CPhoneContinueEmergencyCallCommand::NewL |
|
46 // --------------------------------------------------------- |
|
47 // |
|
48 EXPORT_C CPhoneContinueEmergencyCallCommand* CPhoneContinueEmergencyCallCommand::NewL( |
|
49 MPhoneEngineMessageSender& aEngineMessageSender ) |
|
50 { |
|
51 __LOGMETHODSTARTEND( EPhoneMediatorCenter, "CPhoneContinueEmergencyCallCommand::NewL( ) "); |
|
52 CPhoneContinueEmergencyCallCommand* self = new( ELeave ) |
|
53 CPhoneContinueEmergencyCallCommand( aEngineMessageSender ); |
|
54 |
|
55 CleanupStack::PushL( self ); |
|
56 self->ConstructL(); |
|
57 CleanupStack::Pop( self ); |
|
58 |
|
59 return self; |
|
60 } |
|
61 |
|
62 // --------------------------------------------------------- |
|
63 // CPhoneContinueEmergencyCallCommand::~CPhoneContinueEmergencyCallCommand |
|
64 // --------------------------------------------------------- |
|
65 // |
|
66 CPhoneContinueEmergencyCallCommand::~CPhoneContinueEmergencyCallCommand() |
|
67 { |
|
68 } |
|
69 |
|
70 // --------------------------------------------------------- |
|
71 // CPhoneContinueEmergencyCallCommand::ExecuteLD |
|
72 // --------------------------------------------------------- |
|
73 // |
|
74 void CPhoneContinueEmergencyCallCommand::ExecuteLD() |
|
75 { |
|
76 __LOGMETHODSTARTEND( EPhoneMediatorCenter, |
|
77 "CPhoneContinueEmergencyCallCommand::ExecuteL( ) "); |
|
78 iEngineMessageSender.SendPhoneEngineMessage( |
|
79 MPEPhoneModel::EPEMessageContinueEmergencyCallInitialization ); |
|
80 delete this; |
|
81 } |
|
82 |
|
83 // End of File |