locationtriggering/ltstrategyengine/src/lbttriggerview.cpp
branchRCL_3
changeset 13 19bff11d6c18
parent 0 667063e416a2
child 39 3efc7a0e8755
equal deleted inserted replaced
12:f3bd2a0973b9 13:19bff11d6c18
   405             iTriggerList->DeleteL( tEntry.key );
   405             iTriggerList->DeleteL( tEntry.key );
   406             next = iTriggerList->ResetL( index );
   406             next = iTriggerList->ResetL( index );
   407             } );
   407             } );
   408         if( KErrNone != err )
   408         if( KErrNone != err )
   409             {
   409             {
   410             // TODO: Log warning message that entries could not be deleted
   410             LOG("Entries could not be deleted");
   411             }
   411             }
   412         }
   412         }
   413 
   413 
   414     iList.ResetAndDestroy();
   414     iList.ResetAndDestroy();
   415     delete iTriggerList;
   415     delete iTriggerList;
  1098                 TLinearOrder< TLbtTriggerId > byTriggerID( CompareByID );
  1098                 TLinearOrder< TLbtTriggerId > byTriggerID( CompareByID );
  1099                 iModifiedTrgList.InsertInOrder( ( *aIDs )[index], byTriggerID );
  1099                 iModifiedTrgList.InsertInOrder( ( *aIDs )[index], byTriggerID );
  1100                 }
  1100                 }
  1101             else
  1101             else
  1102                 {
  1102                 {
  1103                 // TODO: Log error message mentioning the trigger ID
  1103                 LOG1("Invalid trigger ID:%d",( *aIDs )[index]);
  1104                 InvalidateTrigger( ( *aIDs )[index] );
  1104                 InvalidateTrigger( ( *aIDs )[index] );
  1105                 }
  1105                 }
  1106             }
  1106             }
  1107         }
  1107         }
  1108     }
  1108     }
  1351 void CLbtTriggerView::RunL()
  1351 void CLbtTriggerView::RunL()
  1352     {
  1352     {
  1353     FUNC_ENTER("CLbtTriggerView::RunL");
  1353     FUNC_ENTER("CLbtTriggerView::RunL");
  1354     if( KErrNone != iStatus.Int() )
  1354     if( KErrNone != iStatus.Int() )
  1355         {
  1355         {
  1356         // TODO: Log error here
  1356         LOG1("iStatus.Int = %d",iStatus.Int() );
  1357         // TODO: Check if error needs to be reported through the 
  1357         // TODO: Check if error needs to be reported through the 
  1358         //       observer interface
  1358         //       observer interface
  1359         }
  1359         }
  1360         
  1360         
  1361     switch( iState )
  1361     switch( iState )