calendarui/controller/src/calencontextfwlistener.cpp
branchRCL_3
changeset 13 0f07cd1b5772
parent 5 42814f902fe6
child 67 1539a383d7b6
equal deleted inserted replaced
12:38571fd2a704 13:0f07cd1b5772
   214                                        const TDesC& aType,
   214                                        const TDesC& aType,
   215                                        const TDesC& aValue )
   215                                        const TDesC& aValue )
   216     {
   216     {
   217     TRACE_ENTRY_POINT;
   217     TRACE_ENTRY_POINT;
   218     CCFContextObject* co = CCFContextObject::NewLC( aSource, aType, aValue );
   218     CCFContextObject* co = CCFContextObject::NewLC( aSource, aType, aValue );
   219 
   219     if(iCFClient)
   220     const TInt err = iCFClient->PublishContext( *co );
   220       {
       
   221         const TInt err = iCFClient->PublishContext( *co );
       
   222         
       
   223 #ifdef _DEBUG
       
   224     RDebug::Print( _L("### PublishContext - err: %d"), err );
       
   225 #endif
       
   226     User::LeaveIfError( err );
       
   227       }
   221     CleanupStack::PopAndDestroy( co );
   228     CleanupStack::PopAndDestroy( co );
   222 #ifdef _DEBUG
       
   223     RDebug::Print( _L("### PublishContext - err: %d"), err );
       
   224 #endif
       
   225     User::LeaveIfError( err );
       
   226     TRACE_EXIT_POINT;
   229     TRACE_EXIT_POINT;
   227     }
   230     }
   228 
   231 
   229 // ---------------------------------------------------------------------------
   232 // ---------------------------------------------------------------------------
   230 // CCalenContextFWListener::AlarmStopL
   233 // CCalenContextFWListener::AlarmStopL