543 * @return ETrue if extended character, EFalse otherwise |
561 * @return ETrue if extended character, EFalse otherwise |
544 */ |
562 */ |
545 TBool IsExtendedCharacter( TChar aCharacter ); |
563 TBool IsExtendedCharacter( TChar aCharacter ); |
546 |
564 |
547 /** |
565 /** |
548 * Checks extended command |
566 * Checks special command |
549 * |
567 * |
550 * @since S60 5.0 |
568 * @since S60 5.0 |
551 * @param aStartIndex Start index (doesn't change) |
569 * @param aStartIndex Start index (doesn't change) |
552 * @param aEndIndex End index (changes) |
570 * @param aEndIndex End index (changes) |
553 * @return ETrue if end of extended found, EFalse otherwise |
571 * @return Symbian error code on error, KErrNone otherwise |
554 */ |
572 */ |
555 TBool CheckExtendedCommand( TInt aStartIndex, TInt& aEndIndex ); |
573 TBool CheckSpecialCommand( TInt aStartIndex, |
556 |
574 TInt& aEndIndex ); |
557 /** |
575 |
558 * Checks special command |
576 /** |
559 * |
577 * Saves character decode state for a found character |
560 * @since S60 5.0 |
578 * |
|
579 * @since TB9.2 |
|
580 * @param aCharacter Character to save a state for |
|
581 * @param aAddSpecial ETrue to add character for special command, |
|
582 * EFalse otherwise |
|
583 * @return Symbian error code on error, KErrNone otherwise |
|
584 */ |
|
585 void SaveFoundCharDecodeState( TChar aCharacter, |
|
586 TBool aAddSpecial=ETrue ); |
|
587 |
|
588 /** |
|
589 * Saves character decode state for a not found character |
|
590 * |
|
591 * @since TB9.2 |
561 * @param aStartIndex Start index (doesn't change) |
592 * @param aStartIndex Start index (doesn't change) |
562 * @param aEndIndex End index (changes) |
593 * @param aEndIndex End index (changes) |
563 * @return Symbian error code on error, KErrNone otherwise |
594 * @return Symbian error code on error, KErrNone otherwise |
564 */ |
595 */ |
565 TBool CheckSpecialCommand( TInt aStartIndex, |
596 void SaveNotFoundCharDecodeState(); |
566 TInt& aEndIndex ); |
597 |
567 |
598 /** |
568 /** |
599 * Find quotes within subcommands |
569 * Checks basic command |
600 * |
570 * |
601 * @since TB9.2 |
571 * @since S60 5.0 |
602 * @param aCharacter Character to check |
572 * @param aStartIndex Start index (doesn't change) |
603 * @param aStartIndex Start index (doesn't change) |
573 * @param aEndIndex End index (changes) |
604 * @param aEndIndex End index (changes) |
574 * @param aACmdFound ETrue if one character "A" command found, |
605 * @return Symbian error code on error, KErrNone otherwise |
575 * EFalse otherwise |
606 */ |
576 * @return Symbian error code on error, KErrNone otherwise |
607 TBool FindSubCommandQuotes( TChar aCharacter, TInt aStartIndex, TInt& aEndIndex ); |
577 */ |
608 |
578 TInt CheckBasicCommand( TInt aStartIndex, |
609 /** |
579 TInt& aEndIndex, |
610 * Check if in next subcommand's extended border |
580 TBool& aOneCharCmd ); |
611 * |
581 |
612 * @since TB9.2 |
582 /** |
613 * @param aCharacter Extended character to check |
583 * Check if any one character command |
|
584 * |
|
585 * @since S60 5.0 |
|
586 * @param aStartIndex Start index (doesn't change) |
614 * @param aStartIndex Start index (doesn't change) |
587 * @return ETrue if any one character command, EFalse otherwise |
615 * @param aEndIndex End index (changes) |
588 */ |
616 * @return ETrue if in next command's extended border, EFalse otherwise |
589 TBool IsOneCharacterCommand( TInt aStartIndex ); |
617 */ |
590 |
618 TBool IsExtendedBorder( TChar aCharacter, TInt aStartIndex, TInt& aEndIndex ); |
591 /** |
619 |
592 * Check if one character "A" command |
620 /** |
593 * |
621 * Finds subcommand with alphanumeric borders |
594 * @since S60 5.0 |
622 * |
|
623 * @since TB9.2 |
|
624 * @param aCharacter Character to check |
|
625 * @param aEndIndex End index (changes) |
|
626 * @return ETrue if alpha border found, EFalse otherwise |
|
627 */ |
|
628 TBool FindSubCommandAlphaBorder( TChar aCharacter, TInt& aEndIndex ); |
|
629 |
|
630 /** |
|
631 * Finds subcommand |
|
632 * |
|
633 * @since TB9.2 |
595 * @param aStartIndex Start index (doesn't change) |
634 * @param aStartIndex Start index (doesn't change) |
596 * @return ETrue if one character "A" command, EFalse otherwise |
635 * @param aEndIndex End index (changes) |
597 */ |
636 * @return Symbian error code on error, KErrNone otherwise |
598 TBool IsOneCharacterACommand( TInt aStartIndex ); |
637 */ |
|
638 TInt FindSubCommand( TInt aStartIndex, TInt& aEndIndex ); |
599 |
639 |
600 /** |
640 /** |
601 * Check if "A/" command |
641 * Check if "A/" command |
602 * |
642 * |
603 * @since S60 5.0 |
643 * @since S60 5.0 |