|
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: CPhoneIdle_Inherited implementation. |
|
15 * |
|
16 */ |
|
17 |
|
18 #include "CPhoneIdle_Inherited.h" |
|
19 |
|
20 |
|
21 CPhoneIdle_Inherited::CPhoneIdle_Inherited( |
|
22 MPhoneStateMachine* aStateMachine, |
|
23 MPhoneViewCommandHandle* aViewCommandHandle, |
|
24 MPhoneCustomization* aPhoneCustomization ) |
|
25 : CPhoneIdle( aStateMachine, aViewCommandHandle, aPhoneCustomization ) |
|
26 { |
|
27 // No implementation required |
|
28 } |
|
29 |
|
30 CPhoneIdle_Inherited::~CPhoneIdle_Inherited() |
|
31 { |
|
32 } |
|
33 |
|
34 CPhoneIdle_Inherited* CPhoneIdle_Inherited::NewLC( |
|
35 MPhoneStateMachine* aStateMachine, |
|
36 MPhoneViewCommandHandle* aViewCommandHandle, |
|
37 MPhoneCustomization* aPhoneCustomization ) |
|
38 { |
|
39 CPhoneIdle_Inherited* self = new ( ELeave ) |
|
40 CPhoneIdle_Inherited( aStateMachine, aViewCommandHandle, aPhoneCustomization ); |
|
41 CleanupStack::PushL(self); |
|
42 self->ConstructL(); // base class |
|
43 return self; |
|
44 } |
|
45 |
|
46 CPhoneIdle_Inherited* CPhoneIdle_Inherited::NewL( |
|
47 MPhoneStateMachine* aStateMachine, |
|
48 MPhoneViewCommandHandle* aViewCommandHandle, |
|
49 MPhoneCustomization* aPhoneCustomization ) |
|
50 { |
|
51 CPhoneIdle_Inherited* self = CPhoneIdle_Inherited::NewLC( |
|
52 aStateMachine, aViewCommandHandle, aPhoneCustomization ); |
|
53 CleanupStack::Pop(); // self; |
|
54 return self; |
|
55 } |
|
56 |
|
57 void CPhoneIdle_Inherited::User_HandleErrorL( const TPEErrorInfo& aErrorInfo ) |
|
58 { |
|
59 HandleErrorL(aErrorInfo); |
|
60 } |