localconnectivityservice/dun/atext/src/DunAtCmdHandler.cpp
changeset 54 4dc88a4ac6f4
parent 52 866b4af7ffbe
equal deleted inserted replaced
52:866b4af7ffbe 54:4dc88a4ac6f4
   305 //
   305 //
   306 EXPORT_C TInt CDunAtCmdHandler::StopUrc()
   306 EXPORT_C TInt CDunAtCmdHandler::StopUrc()
   307     {
   307     {
   308     FTRACE(FPrint( _L("CDunAtCmdHandler::StopUrc()") ));
   308     FTRACE(FPrint( _L("CDunAtCmdHandler::StopUrc()") ));
   309     TInt i;
   309     TInt i;
   310     TInt retVal = KErrNone;
       
   311     TInt count = iUrcHandlers.Count();
   310     TInt count = iUrcHandlers.Count();
   312     for ( i=0; i<count; i++ )
   311     for ( i=0; i<count; i++ )
   313         {
   312         {
   314         retVal = iUrcHandlers[i]->Stop();
   313         iUrcHandlers[i]->Stop();
   315         }
   314         }
   316     FTRACE(FPrint( _L("CDunAtCmdHandler::StopUrc() complete") ));
   315     FTRACE(FPrint( _L("CDunAtCmdHandler::StopUrc() complete") ));
   317     return retVal;
   316     return KErrNone;
   318     }
   317     }
   319 
   318 
   320 // ---------------------------------------------------------------------------
   319 // ---------------------------------------------------------------------------
   321 // CDunAtCmdHandler::CDunAtCmdHandler
   320 // CDunAtCmdHandler::CDunAtCmdHandler
   322 // ---------------------------------------------------------------------------
   321 // ---------------------------------------------------------------------------
  1383         }
  1382         }
  1384     // The next ones are those that are not in quotes.
  1383     // The next ones are those that are not in quotes.
  1385     // We still need to save the iParseInfo.iLimit and skip non-delimiter characters.
  1384     // We still need to save the iParseInfo.iLimit and skip non-delimiter characters.
  1386     if ( aCharacter == '=' )
  1385     if ( aCharacter == '=' )
  1387         {
  1386         {
  1388         if ( iParseInfo.iLimit < 0 )  // Only first the first '"'
  1387         if ( iParseInfo.iLimit < 0 )  // Only the first '"'
  1389             {
  1388             {
  1390             iParseInfo.iLimit = aEndIndex - aStartIndex;
  1389             iParseInfo.iLimit = aEndIndex - aStartIndex;
  1391             }
  1390             }
  1392         iDecodeInfo.iAssignFound = ETrue;
  1391         iDecodeInfo.iAssignFound = ETrue;
  1393         SaveFoundCharDecodeState( aCharacter, EFalse );
  1392         SaveFoundCharDecodeState( aCharacter, EFalse );