author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Mon, 04 Oct 2010 00:16:48 +0300 | |
changeset 77 | 2be0b271d017 |
parent 56 | 5bcb308bd24d |
child 76 | cfea66083b62 |
permissions | -rw-r--r-- |
37 | 1 |
/* |
2 |
* Copyright (c) 2005-2008 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 |
* Conference call state implementation. |
|
16 |
* |
|
17 |
*/ |
|
18 |
||
19 |
||
20 |
#ifndef CPHONECONFERENCE_H |
|
21 |
#define CPHONECONFERENCE_H |
|
22 |
||
23 |
// INCLUDES |
|
24 |
#include "cphonegsmincall.h" |
|
25 |
#include "tphonecmdparamboolean.h" |
|
26 |
||
27 |
// FORWARD DECLARATIONS |
|
28 |
||
29 |
// CLASS DECLARATION |
|
30 |
/** |
|
31 |
* Conference call state implementation. |
|
32 |
*/ |
|
33 |
class CPhoneConference : public CPhoneGsmInCall |
|
34 |
{ |
|
35 |
public: |
|
36 |
||
37 |
/** |
|
38 |
* Destructor. |
|
39 |
*/ |
|
40 |
virtual ~CPhoneConference(); |
|
41 |
||
42 |
/** |
|
43 |
* Creates the Conference Call state class |
|
44 |
* @param aStateMachine: a container of state objects |
|
45 |
* @param aViewCommandHandle: handle to the PhoneUIView |
|
46 |
* @return an instance of class CPhoneStateIncoming |
|
47 |
*/ |
|
48 |
static CPhoneConference* NewL( |
|
49 |
MPhoneStateMachine* aStateMachine, |
|
50 |
MPhoneViewCommandHandle* aViewCommandHandle, |
|
51 |
MPhoneCustomization* aPhoneCustomization ); |
|
52 |
||
53 |
||
54 |
/** |
|
55 |
* A message handling function for Phone Engine messages |
|
56 |
* @param aMessage Message from Phone Engine |
|
57 |
* @param aCallId Call id the message concerns |
|
58 |
*/ |
|
59 |
virtual void HandlePhoneEngineMessageL( |
|
60 |
const TInt aMessage, |
|
61 |
TInt aCallId ); |
|
62 |
||
63 |
virtual TBool HandleCommandL( TInt aCommand ); |
|
64 |
||
65 |
virtual void HandleKeyMessageL( |
|
66 |
TPhoneKeyEventMessages aMessage, |
|
67 |
TKeyCode aCode ); |
|
68 |
||
69 |
protected: |
|
70 |
||
71 |
/** |
|
72 |
* By default EPOC constructor is private. |
|
73 |
*/ |
|
74 |
CPhoneConference( |
|
75 |
MPhoneStateMachine* aStateMachine, |
|
76 |
MPhoneViewCommandHandle* aViewCommandHandle, |
|
77 |
MPhoneCustomization* aPhoneCustomization ); |
|
78 |
||
79 |
/** |
|
80 |
* ConstructL() |
|
81 |
*/ |
|
82 |
virtual void ConstructL(); |
|
83 |
||
84 |
virtual void HandleKeyEventL( |
|
85 |
const TKeyEvent& aKeyEvent, |
|
86 |
TEventCode aEventCode ); |
|
87 |
||
88 |
virtual void HandleNumberEntryClearedL(); |
|
89 |
||
90 |
virtual void HandleIdleL( TInt aCallId ); |
|
91 |
||
92 |
virtual void MakeStateTransitionToSingleL(); |
|
93 |
||
94 |
virtual void HandleIncomingL( TInt aCallId ); |
|
95 |
||
96 |
virtual void HandleConferenceIdleL(); |
|
97 |
||
98 |
virtual void MakeStateTransitionToTwoSinglesL(); |
|
99 |
||
100 |
void UpdateConferenceSecurityStatusL( TInt aCallId ); |
|
101 |
||
102 |
||
103 |
private: |
|
104 |
||
105 |
void HandleHeldConferenceL( TInt aCallId ); |
|
106 |
||
107 |
void HandleConnectedConferenceL(); |
|
108 |
||
109 |
void ToggleHoldL(); |
|
110 |
||
111 |
void DropSelectedParticipantL(); |
|
112 |
||
113 |
void PrivateSelectedParticipantL(); |
|
114 |
||
115 |
void MakeStateTransitionToIdleL(); |
|
116 |
||
77
2be0b271d017
Revision: 201037
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
56
diff
changeset
|
117 |
void HandleDialingL( TInt aCallId ); |
37 | 118 |
|
119 |
void HandleWentOneToOneL( TInt aCallId ); |
|
120 |
||
121 |
}; |
|
122 |
||
123 |
#endif // CPHONECONFERENCE_H |
|
124 |
||
125 |
// End of File |