113 // (other items were commented in a header). |
113 // (other items were commented in a header). |
114 // ----------------------------------------------------------------------------- |
114 // ----------------------------------------------------------------------------- |
115 // |
115 // |
116 void COMASuplETelNotifier::CheckForRoaming() |
116 void COMASuplETelNotifier::CheckForRoaming() |
117 { |
117 { |
118 iCellMode = EOMASuplCellIdHome; |
118 iTrace->Trace(_L("COMASuplETelNotifier::CheckForRoaming..."),KTraceFileName, __LINE__); |
119 iTrace->Trace(_L("COMASuplETelNotifier::CheckForRoaming..."),KTraceFileName, __LINE__); |
119 if( !IsActive() ) |
120 iPhone.GetHomeNetwork( iStatus, iHomeNetworkInfoPkg); |
120 { |
121 SetActive(); |
121 iCellMode = EOMASuplCellIdHome; |
|
122 iPhone.GetHomeNetwork( iStatus, iHomeNetworkInfoPkg); |
|
123 SetActive(); |
|
124 } |
122 } |
125 } |
123 |
126 |
124 // ----------------------------------------------------------------------------- |
127 // ----------------------------------------------------------------------------- |
125 // COMASuplETelNotifier::CheckForRoaming,For retriving the cell id information |
128 // COMASuplETelNotifier::CheckForRoaming,For retriving the cell id information |
126 // (other items were commented in a header). |
129 // (other items were commented in a header). |
127 // ----------------------------------------------------------------------------- |
130 // ----------------------------------------------------------------------------- |
128 // |
131 // |
129 void COMASuplETelNotifier::GetCurrentNetwork() |
132 void COMASuplETelNotifier::GetCurrentNetwork() |
130 { |
133 { |
131 iCellMode = EOMASuplCellIdCurrent; |
134 iTrace->Trace(_L("COMASuplETelNotifier::GetCurrentNetwork..."),KTraceFileName, __LINE__); |
132 iTrace->Trace(_L("COMASuplETelNotifier::GetCurrentNetwork..."),KTraceFileName, __LINE__); |
135 if( !IsActive() ) |
133 iPhone.GetCurrentNetwork( iStatus, iNetworkInfoPkg, iLocationInfo ); |
136 { |
134 SetActive(); |
137 iCellMode = EOMASuplCellIdCurrent; |
|
138 iPhone.GetCurrentNetwork( iStatus, iNetworkInfoPkg, iLocationInfo ); |
|
139 SetActive(); |
|
140 } |
135 } |
141 } |
136 |
142 |
137 // ----------------------------------------------------------------------------- |
143 // ----------------------------------------------------------------------------- |
138 // COMASuplETelNotifier::CheckForRoaming,For retriving the cell id information |
144 // COMASuplETelNotifier::CheckForRoaming,For retriving the cell id information |
139 // (other items were commented in a header). |
145 // (other items were commented in a header). |
140 // ----------------------------------------------------------------------------- |
146 // ----------------------------------------------------------------------------- |
141 // |
147 // |
142 void COMASuplETelNotifier::NotifyCurrentNetworkChange() |
148 void COMASuplETelNotifier::NotifyCurrentNetworkChange() |
143 { |
149 { |
144 iCellMode = EOMASuplCellIdNotify; |
150 iTrace->Trace(_L("COMASuplETelNotifier::NotifyCurrentNetworkChange..."),KTraceFileName, __LINE__); |
145 iTrace->Trace(_L("COMASuplETelNotifier::NotifyCurrentNetworkChange..."),KTraceFileName, __LINE__); |
151 if( !IsActive() ) |
146 iPhone.NotifyCurrentNetworkChange( iStatus, iNetworkInfoPkg, iLocationInfo ); |
152 { |
147 SetActive(); |
153 iCellMode = EOMASuplCellIdNotify; |
|
154 iPhone.NotifyCurrentNetworkChange( iStatus, iNetworkInfoPkg, iLocationInfo ); |
|
155 SetActive(); |
|
156 } |
148 } |
157 } |
149 |
158 |
150 // ----------------------------------------------------------------------------- |
159 // ----------------------------------------------------------------------------- |
151 // COMASuplETelNotifier::RunL |
160 // COMASuplETelNotifier::RunL |
152 // (other items were commented in a header). |
161 // (other items were commented in a header). |