equal
deleted
inserted
replaced
32 #include <aicontentobserver.h> |
32 #include <aicontentobserver.h> |
33 #include <aiutility.h> |
33 #include <aiutility.h> |
34 #include <aipspropertyobserver.h> |
34 #include <aipspropertyobserver.h> |
35 #include <aipluginsettings.h> |
35 #include <aipluginsettings.h> |
36 #include <activeidle2domainpskeys.h> |
36 #include <activeidle2domainpskeys.h> |
|
37 #include <debug.h> |
37 |
38 |
38 #include "wrtdatapluginconst.h" |
39 #include "wrtdatapluginconst.h" |
39 #include "wrtdatapluginuids.hrh" |
40 #include "wrtdatapluginuids.hrh" |
40 #include "wrtdataplugin.h" |
41 #include "wrtdataplugin.h" |
41 #include "wrtdata.h" |
42 #include "wrtdata.h" |
441 } |
442 } |
442 CleanupStack::PopAndDestroy( objectId ); |
443 CleanupStack::PopAndDestroy( objectId ); |
443 } |
444 } |
444 |
445 |
445 // --------------------------------------------------------------------------- |
446 // --------------------------------------------------------------------------- |
446 //Refresh a specific image of text in the widget |
447 //Refresh a specific image or text in the widget |
447 // --------------------------------------------------------------------------- |
448 // --------------------------------------------------------------------------- |
448 // |
449 // |
449 void CWrtDataPlugin::RefreshL( TDesC16& aOperation, CLiwDefaultMap* aDataMap ) |
450 void CWrtDataPlugin::RefreshL( TDesC16& aOperation, CLiwDefaultMap* aDataMap ) |
450 { |
451 { |
|
452 __PRINTS("*** CWrtDataPlugin::RefreshL ***"); |
|
453 |
|
454 __PRINT( __DBG_FORMAT( "* Publisher name: %S, uid: 0x%x, operation: %S" ), |
|
455 &PublisherInfo().Name(), PublisherInfo().Uid().iUid, &aOperation ); |
|
456 |
451 TInt observers( iObservers.Count() ); |
457 TInt observers( iObservers.Count() ); |
452 TInt transactionId = reinterpret_cast<TInt>( this ); |
458 TInt transactionId = reinterpret_cast<TInt>( this ); |
453 |
459 |
454 for ( TInt obsIndex = 0; obsIndex < observers; obsIndex++ ) |
460 for ( TInt obsIndex = 0; obsIndex < observers; obsIndex++ ) |
455 { |
461 { |
474 // Relese memory of the published text |
480 // Relese memory of the published text |
475 iDataArray.ResetAndDestroy(); |
481 iDataArray.ResetAndDestroy(); |
476 // Release memory of the published icons |
482 // Release memory of the published icons |
477 iIconArray.Reset(); |
483 iIconArray.Reset(); |
478 } |
484 } |
|
485 |
|
486 __PRINTS("*** CWrtDataPlugin::RefreshL - done ***"); |
479 } |
487 } |
480 |
488 |
481 // --------------------------------------------------------------------------- |
489 // --------------------------------------------------------------------------- |
482 // Publish a specific text of the widget |
490 // Publish a specific text of the widget |
483 // --------------------------------------------------------------------------- |
491 // --------------------------------------------------------------------------- |