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: |
|
15 * GSM-specific Call setup state implementation. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef CPHONECALLSETUP |
|
21 #define CPHONECALLSETUP |
|
22 |
|
23 // INCLUDES |
|
24 #include "cphonestatecallsetup.h" |
|
25 |
|
26 // CLASS DECLARATION |
|
27 /** |
|
28 * GSM-specific Call setup state |
|
29 */ |
|
30 class CPhoneCallSetup : public CPhoneStateCallSetup |
|
31 { |
|
32 public: |
|
33 |
|
34 /** |
|
35 * Destructor. |
|
36 */ |
|
37 IMPORT_C virtual ~CPhoneCallSetup(); |
|
38 |
|
39 /** |
|
40 * Creates the Call Setup state class |
|
41 * @param aStateMachine: a state machine |
|
42 * @param aViewCommandHandle: handle to the PhoneUIView |
|
43 * @return an instance of class CPhoneCallSetup |
|
44 */ |
|
45 static CPhoneCallSetup* NewL( |
|
46 MPhoneStateMachine* aStateMachine, |
|
47 MPhoneViewCommandHandle* aViewCommandHandle, |
|
48 MPhoneCustomization* aPhoneCustomization ); |
|
49 |
|
50 /** |
|
51 * A message handling function for Phone Engine messages |
|
52 * @param aMessage Message from Phone Engine |
|
53 * @param aCallId Call id the message concerns |
|
54 */ |
|
55 IMPORT_C virtual void HandlePhoneEngineMessageL( |
|
56 const TInt aMessage, |
|
57 TInt aCallId ); |
|
58 |
|
59 |
|
60 protected: |
|
61 |
|
62 /** |
|
63 * By default EPOC constructor is private. |
|
64 */ |
|
65 IMPORT_C CPhoneCallSetup( |
|
66 MPhoneStateMachine* aStateMachine, |
|
67 MPhoneViewCommandHandle* aViewCommandHandle, |
|
68 MPhoneCustomization* aPhoneCustomization ); |
|
69 |
|
70 /** |
|
71 * ConstructL() |
|
72 */ |
|
73 IMPORT_C virtual void ConstructL(); |
|
74 |
|
75 /** |
|
76 * Handle EPEMessageConnecting |
|
77 */ |
|
78 IMPORT_C virtual void HandleConnectingL( TInt aCallId ); |
|
79 |
|
80 }; |
|
81 |
|
82 #endif // CPHONECALLSETUP |
|
83 |
|
84 // End of File |
|