harvester/composerplugins/imagecomposer/src/imagepresentobserver.cpp
branchRCL_3
changeset 21 85f623e1ef41
parent 20 f23c07ec56e2
child 22 29d87345eaeb
equal deleted inserted replaced
20:f23c07ec56e2 21:85f623e1ef41
    85 
    85 
    86 
    86 
    87 void CImagePresentObserver::HandleObjectPresentNotification(CMdESession& /*aSession*/, 
    87 void CImagePresentObserver::HandleObjectPresentNotification(CMdESession& /*aSession*/, 
    88 		TBool aPresent, const RArray<TItemId>& aObjectIdArray)
    88 		TBool aPresent, const RArray<TItemId>& aObjectIdArray)
    89 	{
    89 	{
    90     WRITELOG( "CImagePresentObserver::HandleObjectPresentNotification" );
       
    91 	if ( aPresent )
    90 	if ( aPresent )
    92 		{
    91 		{
    93 	    WRITELOG( "CImagePresentObserver::HandleObjectPresentNotification - objects present" );
       
    94 		if ( !iStarted )
    92 		if ( !iStarted )
    95 			{
    93 			{
    96 			CMdEObjectDef* imageObjDef = NULL;
    94 			CMdEObjectDef* imageObjDef = NULL;
    97 			TRAP_IGNORE( imageObjDef = &iDefaultNamespace->GetObjectDefL( 
    95 			TRAP_IGNORE( imageObjDef = &iDefaultNamespace->GetObjectDefL( 
    98 					MdeConstants::Image::KImageObject ));
    96 					MdeConstants::Image::KImageObject ));