idlehomescreen/sapiwrapper/cpswrapper/src/cpswrapper.cpp
branchRCL_3
changeset 25 137ebc85284b
parent 1 5315654608de
equal deleted inserted replaced
23:7be2816dbabd 25:137ebc85284b
   384     // CCpsWrapper::StartListeningPublisherRegistryL()
   384     // CCpsWrapper::StartListeningPublisherRegistryL()
   385     // -----------------------------------------------------------------------
   385     // -----------------------------------------------------------------------
   386     //
   386     //
   387     void CCpsWrapper::StartListeningPublisherRegistryL()
   387     void CCpsWrapper::StartListeningPublisherRegistryL()
   388         {
   388         {
   389         // Start Listening all the HS template using widgets unregistration
       
   390         RequestForNotificationL( KAll, KHSTemplate, KAll, KDelete, KPublisher16 );
       
   391                  
       
   392         // Start Listening all the WRT widgets unregistration
       
   393         RequestForNotificationL( KAll, KWRTTemplate, KAll, KDelete, KPublisher16 );
       
   394         
       
   395         // Start Listening all the WRT widgets registrations
   389         // Start Listening all the WRT widgets registrations
   396         RequestForNotificationL( KAll, KWRTTemplate, KAll, KAdd, KPublisher16 );
   390         RequestForNotificationL( KAll, KWRTTemplate, KAll, KAddUpdateDelete, KPublisher16 );
   397         
   391         
   398         // Start Listening all the HS template widgets registrations
   392         // Start Listening all the HS template widgets registrations
   399         RequestForNotificationL( KAll, KHSTemplate, KAll, KAdd, KPublisher16 );
   393         RequestForNotificationL( KAll, KHSTemplate, KAll, KAddUpdateDelete , KPublisher16 );
   400         }
   394         }
   401     
   395     
   402     // -----------------------------------------------------------------------
   396     // -----------------------------------------------------------------------
   403 	// CCpsWrapper::HandleChangedPublisherL()
   397 	// CCpsWrapper::HandleChangedPublisherL()
   404 	// -----------------------------------------------------------------------
   398 	// -----------------------------------------------------------------------
   412             }
   406             }
   413         else if ( aOperation == KAdd16 )
   407         else if ( aOperation == KAdd16 )
   414             {
   408             {
   415             iObserver.NotifyWidgetRegisteredL();
   409             iObserver.NotifyWidgetRegisteredL();
   416             }
   410             }
       
   411         else if ( aOperation == KUpdate16 )
       
   412             {
       
   413             iObserver.NotifyWidgetUpdatedL();
       
   414             }
   417     	}
   415     	}
   418     }
   416     }
   419 
   417 
   420 // End of file
   418 // End of file