|
1 /* |
|
2 * Copyright (c) 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: Implementation of CPhoneUIStateMachineFactoryGSM class. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDES |
|
20 #include "cphoneuistatemachinefactorygsm.h" |
|
21 #include "cphonestatemachinegsm.h" |
|
22 #include "cphoneresourceresolvergsm.h" |
|
23 #include "cphoneerrormessageshandler.h" |
|
24 |
|
25 // ----------------------------------------------------------- |
|
26 // CPhoneUIControllerFactoryGSM::CreatePhoneStateMachineL() |
|
27 // Create instance of CPhoneStateMachine class. |
|
28 // (other items were commented in a header). |
|
29 // ----------------------------------------------------------- |
|
30 MPhoneStateMachine* CPhoneUIStateMachineFactoryGSM::CreatePhoneStateMachineL( |
|
31 MPhoneViewCommandHandle* aViewCommandHandle |
|
32 ) |
|
33 { |
|
34 return CPhoneStateMachineGSM::NewL( aViewCommandHandle ); |
|
35 } |
|
36 |
|
37 // --------------------------------------------------------- |
|
38 // CPhoneUIStateMachineFactoryGSM::CreatePhoneResourceResolverL |
|
39 // Create instance of CPhoneResourceResolverBase class. |
|
40 // (other items were commented in a header). |
|
41 // --------------------------------------------------------- |
|
42 CPhoneResourceResolverBase* |
|
43 CPhoneUIStateMachineFactoryGSM::CreatePhoneResourceResolverL() |
|
44 { |
|
45 return CPhoneResourceResolverGSM::NewL(); |
|
46 } |
|
47 |
|
48 // --------------------------------------------------------- |
|
49 // CPhoneUIStateMachineFactoryGSM::CreatePhoneResourceResolverL |
|
50 // Create instance of CPhoneResourceResolverBase class. |
|
51 // (other items were commented in a header). |
|
52 // --------------------------------------------------------- |
|
53 CPhoneErrorMessagesHandler* |
|
54 CPhoneUIStateMachineFactoryGSM::CreatePhoneErrorMessagesHandlerL( |
|
55 MPhoneViewCommandHandle* aViewCommandHandle, |
|
56 MPhoneStateMachine* aStateMachine ) |
|
57 { |
|
58 return CPhoneErrorMessagesHandler::NewL( aViewCommandHandle, |
|
59 aStateMachine ); |
|
60 } |
|
61 |
|
62 // --------------------------------------------------------- |
|
63 // Polymorphic DLL entry point for ordinal 1. |
|
64 // --------------------------------------------------------- |
|
65 EXPORT_C CPhoneUIStateMachineFactoryBase* NewPhoneUIStateMachineFactoryL() |
|
66 { |
|
67 return new( ELeave ) CPhoneUIStateMachineFactoryGSM; |
|
68 } |
|
69 |
|
70 // End of File |