|
1 /* |
|
2 * Copyright (c) 2007 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 * VoIP -specific Call setup state implementation. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef CPHONESTATECALLSETUPVOIP_H |
|
21 #define CPHONESTATECALLSETUPVOIP_H |
|
22 |
|
23 // INCLUDES |
|
24 #include "cphonecallsetup.h" |
|
25 |
|
26 // CLASS DECLARATION |
|
27 /** |
|
28 * VoIP -specific Call setup state |
|
29 */ |
|
30 NONSHARABLE_CLASS( CPhoneStateCallSetupVoIP ): public CPhoneCallSetup |
|
31 { |
|
32 public: |
|
33 |
|
34 /** |
|
35 * Destructor. |
|
36 */ |
|
37 virtual ~CPhoneStateCallSetupVoIP(); |
|
38 |
|
39 /** |
|
40 * Creates the VoIP -specific 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 CPhoneStateCallSetupVoIP* 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 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 CPhoneStateCallSetupVoIP( |
|
66 MPhoneStateMachine& aStateMachine, |
|
67 MPhoneViewCommandHandle& aViewCommandHandle, |
|
68 MPhoneCustomization& aPhoneCustomization ); |
|
69 |
|
70 /** |
|
71 * ConstructL() |
|
72 */ |
|
73 virtual void ConstructL(); |
|
74 |
|
75 private: |
|
76 |
|
77 /** |
|
78 * Handle EPEMessageConnecting |
|
79 */ |
|
80 void HandleConnectingL( TInt aCallId ); |
|
81 |
|
82 }; |
|
83 |
|
84 #endif // CPHONESTATECALLSETUPVOIP_H |
|
85 |
|
86 // End of File |