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