|
33
|
1 |
/*
|
|
|
2 |
* Copyright (c) 2005-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: Send Ss call waiting observer
|
|
|
15 |
*
|
|
|
16 |
*/
|
|
|
17 |
|
|
|
18 |
|
|
|
19 |
#include "csatsendsscallwaitingnouiobs.h"
|
|
|
20 |
#include "SatLog.h"
|
|
|
21 |
|
|
|
22 |
// ======== MEMBER FUNCTIONS ========
|
|
|
23 |
|
|
|
24 |
// -----------------------------------------------------------------------------
|
|
|
25 |
// CSatSendSsCallWaitingNoUiObs::CSatSendSsCallWaitingNoUiObs
|
|
|
26 |
// C++ default constructor can NOT contain any code, that might leave.
|
|
|
27 |
// -----------------------------------------------------------------------------
|
|
|
28 |
//
|
|
|
29 |
CSatSendSsCallWaitingNoUiObs::CSatSendSsCallWaitingNoUiObs()
|
|
|
30 |
{
|
|
|
31 |
LOG( SIMPLE,
|
|
|
32 |
"SENDSS: CSatSendSsCallWaitingNoUiObs::CSatSendSsCallWaitingNoUiObs \
|
|
|
33 |
calling-exiting" )
|
|
|
34 |
}
|
|
|
35 |
|
|
|
36 |
// -----------------------------------------------------------------------------
|
|
|
37 |
// CSatSendSsCallWaitingNoUiObs::~CSatSendSsCallWaitingNoUiObs
|
|
|
38 |
// Destructor.
|
|
|
39 |
// -----------------------------------------------------------------------------
|
|
|
40 |
//
|
|
|
41 |
CSatSendSsCallWaitingNoUiObs::~CSatSendSsCallWaitingNoUiObs()
|
|
|
42 |
{
|
|
|
43 |
LOG( SIMPLE,
|
|
|
44 |
"SENDSS: CSatSendSsCallWaitingNoUiObs::~CSatSendSsCallWaitingNoUiObs \
|
|
|
45 |
calling-exiting" )
|
|
|
46 |
}
|
|
|
47 |
|
|
|
48 |
// -----------------------------------------------------------------------------
|
|
|
49 |
// CSatSendSsCallWaitingNoUiObs::HandleCallWaitingGetStatusL
|
|
|
50 |
// Notification of call waiting mode change
|
|
|
51 |
// -----------------------------------------------------------------------------
|
|
|
52 |
//
|
|
|
53 |
void CSatSendSsCallWaitingNoUiObs::HandleCallWaitingGetStatusL(
|
|
|
54 |
MPsetCallWaiting::TGetCallWaitingStatus aStatus,
|
|
|
55 |
TUint8 aBsc[KPSetNumberOfBsc] )
|
|
|
56 |
{
|
|
|
57 |
LOG( SIMPLE,
|
|
|
58 |
"SENDSS: CSatSendSsCallWaitingNoUiObs::HandleCallWaitingGetStatusL \
|
|
|
59 |
calling" )
|
|
|
60 |
LOG2( DETAILED, " call waiting status: %i", aStatus )
|
|
|
61 |
|
|
|
62 |
// Avoid warnigs about unused parameters
|
|
|
63 |
aStatus = aStatus;
|
|
|
64 |
aBsc = aBsc;
|
|
|
65 |
|
|
|
66 |
LOG( SIMPLE,
|
|
|
67 |
"SENDSS: CSatSendSsCallWaitingNoUiObs::HandleCallWaitingGetStatusL \
|
|
|
68 |
exiting" )
|
|
|
69 |
}
|
|
|
70 |
|
|
|
71 |
// -----------------------------------------------------------------------------
|
|
|
72 |
// CSatSendSsCallWaitingNoUiObs::HandleCallWaitingChangedL
|
|
|
73 |
// Notification of call waiting change
|
|
|
74 |
// -----------------------------------------------------------------------------
|
|
|
75 |
//
|
|
|
76 |
void CSatSendSsCallWaitingNoUiObs::HandleCallWaitingChangedL(
|
|
|
77 |
MPsetCallWaiting::TSetCallWaiting aSetting,
|
|
|
78 |
TInt aResult )
|
|
|
79 |
{
|
|
|
80 |
LOG( SIMPLE,
|
|
|
81 |
"SENDSS: CSatSendSsCallWaitingNoUiObs::HandleCallWaitingChangedL \
|
|
|
82 |
calling" )
|
|
|
83 |
|
|
|
84 |
LOG2( DETAILED, " call waiting status: %i", aSetting )
|
|
|
85 |
LOG2( DETAILED, " result: %i", aResult )
|
|
|
86 |
|
|
|
87 |
// Avoid warnigs about unused parameters
|
|
|
88 |
aSetting = aSetting;
|
|
|
89 |
aResult = aResult;
|
|
|
90 |
|
|
|
91 |
LOG( SIMPLE,
|
|
|
92 |
"SENDSS: CSatSendSsCallWaitingNoUiObs::HandleCallWaitingChangedL \
|
|
|
93 |
exiting" )
|
|
|
94 |
}
|
|
|
95 |
|
|
|
96 |
// -----------------------------------------------------------------------------
|
|
|
97 |
// CSatSendSsCallWaitingNoUiObs::HandleCWErrorL
|
|
|
98 |
// Notification of errors in call waitings
|
|
|
99 |
// -----------------------------------------------------------------------------
|
|
|
100 |
//
|
|
|
101 |
void CSatSendSsCallWaitingNoUiObs::HandleCWErrorL( TInt aReason )
|
|
|
102 |
{
|
|
|
103 |
LOG( SIMPLE,
|
|
|
104 |
"SENDSS: CSatSendSsCallWaitingNoUiObs::HandleCWErrorL calling" )
|
|
|
105 |
LOG2( DETAILED, " CallWaiting error: %i", aReason )
|
|
|
106 |
|
|
|
107 |
// Avoid warnigs about unused parameters
|
|
|
108 |
aReason = aReason;
|
|
|
109 |
|
|
|
110 |
LOG( SIMPLE,
|
|
|
111 |
"SENDSS: CSatSendSsCallWaitingNoUiObs::HandleCWErrorL exiting" )
|
|
|
112 |
}
|
|
|
113 |
|
|
|
114 |
// -----------------------------------------------------------------------------
|
|
|
115 |
// CSatSendSsCallWaitingNoUiObs::HandleCWRequestingL
|
|
|
116 |
// Notification of requesting
|
|
|
117 |
// -----------------------------------------------------------------------------
|
|
|
118 |
//
|
|
|
119 |
void CSatSendSsCallWaitingNoUiObs::HandleCWRequestingL(
|
|
|
120 |
TBool aOngoing, TBool aInterrupted )
|
|
|
121 |
{
|
|
|
122 |
LOG( SIMPLE,
|
|
|
123 |
"SENDSS: CSatSendSsCallWaitingNoUiObs::HandleCWRequestingL calling" )
|
|
|
124 |
LOG2( DETAILED, " ongoing: %i", aOngoing )
|
|
|
125 |
LOG2( DETAILED, " interrupted: %i", aInterrupted )
|
|
|
126 |
|
|
|
127 |
// Avoid warnigs about unused parameters
|
|
|
128 |
aOngoing = aOngoing;
|
|
|
129 |
aOngoing = aInterrupted;
|
|
|
130 |
|
|
|
131 |
LOG( SIMPLE,
|
|
|
132 |
"SENDSS: CSatSendSsCallWaitingNoUiObs::HandleCWRequestingL exiting" )
|
|
|
133 |
}
|
|
|
134 |
|
|
|
135 |
// -----------------------------------------------------------------------------
|
|
|
136 |
// CSatSendSsCallWaitingNoUiObs::SetEngineContact
|
|
|
137 |
//
|
|
|
138 |
// -----------------------------------------------------------------------------
|
|
|
139 |
//
|
|
|
140 |
void CSatSendSsCallWaitingNoUiObs::SetEngineContact(
|
|
|
141 |
MPsetCallWaiting& /*aEngineContact*/ )
|
|
|
142 |
{
|
|
|
143 |
LOG( SIMPLE,
|
|
|
144 |
"SENDSS: CSatSendSsCallWaitingNoUiObs::SetEngineContact \
|
|
|
145 |
calling-exiting" )
|
|
|
146 |
}
|
|
|
147 |
|
|
|
148 |
// End of File
|