telephonyserverplugins/multimodetsy/hayes/SCHAT.CPP
branchRCL_3
changeset 66 07a122eea281
parent 65 630d2f34d719
equal deleted inserted replaced
65:630d2f34d719 66:07a122eea281
     1 // Copyright (c) 1997-2010 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
   145 			{
   145 			{
   146 			if (line.Match(cs->iMatch)==0)
   146 			if (line.Match(cs->iMatch)==0)
   147 				{
   147 				{
   148 				LOGTEXT2(_L8("SChat:\tFound match against =>%S<"), &cs->iMatch);
   148 				LOGTEXT2(_L8("SChat:\tFound match against =>%S<"), &cs->iMatch);
   149 				iNotify->ChatStringMatchL(cs);
   149 				iNotify->ChatStringMatchL(cs);
       
   150 				cs = iter;	// In case user removed cs;
   150 				}
   151 				}
   151 			}
   152 			}
   152 		}
   153 		}
   153 	else
   154 	else
   154 		{
   155 		{
   157 			{
   158 			{
   158 			if (cs->iIsPartialLine && line.Match(cs->iMatch)==0)
   159 			if (cs->iIsPartialLine && line.Match(cs->iMatch)==0)
   159 				{
   160 				{
   160 				LOGTEXT2(_L8("SChat:\tFound match against partial line =>%S<"), &cs->iMatch);
   161 				LOGTEXT2(_L8("SChat:\tFound match against partial line =>%S<"), &cs->iMatch);
   161 				iNotify->ChatStringMatchL(cs);
   162 				iNotify->ChatStringMatchL(cs);
       
   163 				cs = iter;	// In case user removed cs;
   162 				}
   164 				}
   163 			}
   165 			}
   164 		}
   166 		}
   165 	}
   167 	}
   166 
   168