messagingfw/msgsrvnstore/server/src/MCLENTRY.CPP
changeset 47 d176b53f330f
parent 40 320ec5cd0227
equal deleted inserted replaced
40:320ec5cd0227 47:d176b53f330f
     1 // Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 1998-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".
  2786 //
  2786 //
  2787 // Returns true if all the entries are children
  2787 // Returns true if all the entries are children
  2788 //
  2788 //
  2789 	{
  2789 	{
  2790 	TInt count = aSelection.Count();
  2790 	TInt count = aSelection.Count();
  2791 	while (count--)
  2791 	if(!count)
  2792 		{
  2792 	    {
  2793 		if (!IsAChild(aSelection.At(count)))
  2793         return EFalse;
  2794 			{
  2794 	    }
  2795 			return EFalse;
  2795 	else
  2796 			}
  2796 	    {
  2797 		}
  2797         while (count--)
       
  2798             {
       
  2799             if (!IsAChild(aSelection.At(count)))
       
  2800                 {
       
  2801                 return EFalse;
       
  2802                 }
       
  2803             }
       
  2804 	    }
  2798 	return ETrue;
  2805 	return ETrue;
  2799 	}
  2806 	}
  2800 
  2807 
  2801 
  2808 
  2802 EXPORT_C TBool CMsvEntry::HasStoreL() const
  2809 EXPORT_C TBool CMsvEntry::HasStoreL() const