|
1 /* |
|
2 * Copyright (c) 2002-2005 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: CCPhoneStateIdle_Inherited implementation. |
|
15 * |
|
16 */ |
|
17 |
|
18 #include "CPhoneStateIdle_Inherited.h" |
|
19 |
|
20 |
|
21 CPhoneStateIdle_Inherited::CPhoneStateIdle_Inherited( |
|
22 MPhoneStateMachine* aStateMachine, |
|
23 MPhoneViewCommandHandle* aViewCommandHandle, |
|
24 MPhoneCustomization* aPhoneCustomization ) |
|
25 : CPhoneStateIdle( aStateMachine, aViewCommandHandle, aPhoneCustomization ) |
|
26 { |
|
27 // No implementation required |
|
28 } |
|
29 |
|
30 CPhoneStateIdle_Inherited::~CPhoneStateIdle_Inherited() |
|
31 { |
|
32 } |
|
33 |
|
34 CPhoneStateIdle_Inherited* CPhoneStateIdle_Inherited::NewLC( |
|
35 MPhoneStateMachine* aStateMachine, |
|
36 MPhoneViewCommandHandle* aViewCommandHandle, |
|
37 MPhoneCustomization* aPhoneCustomization ) |
|
38 { |
|
39 CPhoneStateIdle_Inherited* self = new ( ELeave ) |
|
40 CPhoneStateIdle_Inherited( aStateMachine, aViewCommandHandle, aPhoneCustomization ); |
|
41 CleanupStack::PushL(self); |
|
42 self->ConstructL(); // base class |
|
43 return self; |
|
44 } |
|
45 |
|
46 CPhoneStateIdle_Inherited* CPhoneStateIdle_Inherited::NewL( |
|
47 MPhoneStateMachine* aStateMachine, |
|
48 MPhoneViewCommandHandle* aViewCommandHandle, |
|
49 MPhoneCustomization* aPhoneCustomization ) |
|
50 { |
|
51 CPhoneStateIdle_Inherited* self = CPhoneStateIdle_Inherited::NewLC( |
|
52 aStateMachine, aViewCommandHandle, aPhoneCustomization ); |
|
53 CleanupStack::Pop(); // self; |
|
54 return self; |
|
55 } |
|
56 |
|
57 void CPhoneStateIdle_Inherited::DialL_UserL( const TDesC& aNumber, |
|
58 TPhoneNumberType aNumberType, TDialInitiationMethod aDialMethod ) |
|
59 { |
|
60 DialL( aNumber, aNumberType, aDialMethod ); |
|
61 } |
|
62 |
|
63 void CPhoneStateIdle_Inherited::HandleNumberEntryClearedL_UserL() |
|
64 { |
|
65 HandleNumberEntryClearedL(); |
|
66 } |