telephonyserverplugins/multimodetsy/hayes/SCHAT.CPP
changeset 64 b34bb05ac869
parent 0 3553901f7fa8
child 66 07a122eea281
equal deleted inserted replaced
56:ab72d5c1d770 64:b34bb05ac869
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 1997-2010 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;
       
   151 				}
   150 				}
   152 			}
   151 			}
   153 		}
   152 		}
   154 	else
   153 	else
   155 		{
   154 		{
   158 			{
   157 			{
   159 			if (cs->iIsPartialLine && line.Match(cs->iMatch)==0)
   158 			if (cs->iIsPartialLine && line.Match(cs->iMatch)==0)
   160 				{
   159 				{
   161 				LOGTEXT2(_L8("SChat:\tFound match against partial line =>%S<"), &cs->iMatch);
   160 				LOGTEXT2(_L8("SChat:\tFound match against partial line =>%S<"), &cs->iMatch);
   162 				iNotify->ChatStringMatchL(cs);
   161 				iNotify->ChatStringMatchL(cs);
   163 				cs = iter;	// In case user removed cs;
       
   164 				}
   162 				}
   165 			}
   163 			}
   166 		}
   164 		}
   167 	}
   165 	}
   168 
   166