equal
deleted
inserted
replaced
201 // ---------------------------------------------------------------------------- |
201 // ---------------------------------------------------------------------------- |
202 // |
202 // |
203 void CServiceWidgetPlugin::UpdateL() |
203 void CServiceWidgetPlugin::UpdateL() |
204 { |
204 { |
205 TRACE_SWP(TXT("CServiceWidgetPlugin::UpdateL() Start") ); |
205 TRACE_SWP(TXT("CServiceWidgetPlugin::UpdateL() Start") ); |
|
206 //Unregisrer all previously registered services. |
|
207 if(iContentPublisher) |
|
208 { |
|
209 iContentPublisher->UnregisterAllWidgetsL(); |
|
210 } |
206 //register for service table notifications |
211 //register for service table notifications |
207 RArray<TUint> serviceIds; |
212 RArray<TUint> serviceIds; |
208 CleanupClosePushL( serviceIds ); |
213 CleanupClosePushL( serviceIds ); |
209 iSpNotifyChange = CSPNotifyChange::NewL( *this ); |
214 iSpNotifyChange = CSPNotifyChange::NewL( *this ); |
210 iSpNotifyChange->NotifyChangeL( serviceIds ); |
215 iSpNotifyChange->NotifyChangeL( serviceIds ); |