equal
deleted
inserted
replaced
86 TInt err = iNotifier.Open( iMenu ); |
86 TInt err = iNotifier.Open( iMenu ); |
87 if ( err == KErrNone ) |
87 if ( err == KErrNone ) |
88 { |
88 { |
89 iNotifyWatcher = CMCSPluginWatcher::NewL( CMCSPluginWatcher::ENotify ); |
89 iNotifyWatcher = CMCSPluginWatcher::NewL( CMCSPluginWatcher::ENotify ); |
90 iNotifier.Notify( 0, |
90 iNotifier.Notify( 0, |
91 RMenuNotifier::EItemsAddedRemoved | RMenuNotifier::EItemsReordered, |
91 RMenuNotifier::EItemsAddedRemoved | |
|
92 RMenuNotifier::EItemsReordered | |
|
93 RMenuNotifier::EItemAttributeChanged, |
92 iNotifyWatcher->iStatus ); |
94 iNotifyWatcher->iStatus ); |
93 iNotifyWatcher->WatchNotify( this ); |
95 iNotifyWatcher->WatchNotify( this ); |
94 } |
96 } |
95 } |
97 } |
96 |
98 |
494 iModel->UpdateAppListL(); |
496 iModel->UpdateAppListL(); |
495 |
497 |
496 // Notification must be activated again |
498 // Notification must be activated again |
497 iNotifyWatcher->Cancel(); |
499 iNotifyWatcher->Cancel(); |
498 iNotifier.Notify( 0, |
500 iNotifier.Notify( 0, |
499 RMenuNotifier::EItemsAddedRemoved | RMenuNotifier::EItemsReordered, |
501 RMenuNotifier::EItemsAddedRemoved | |
|
502 RMenuNotifier::EItemsReordered | |
|
503 RMenuNotifier::EItemAttributeChanged, |
500 iNotifyWatcher->iStatus ); |
504 iNotifyWatcher->iStatus ); |
501 iNotifyWatcher->WatchNotify( this ); |
505 iNotifyWatcher->WatchNotify( this ); |
502 } |
506 } |
503 |
507 |
504 // End of File. |
508 // End of File. |