messagingfw/msgsrvnstore/server/inc/MSVENTRY.INL
changeset 0 8e480a14352b
equal deleted inserted replaced
-1:000000000000 0:8e480a14352b
       
     1 // Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // CMsvServerEntry
       
    15 // 
       
    16 //
       
    17 
       
    18 inline const TMsvEntry& CMsvServerEntry::Entry() const
       
    19 /** Gets the context's index entry.
       
    20 
       
    21 @return The current entry */
       
    22 	{
       
    23 	return iEntry;
       
    24 	}
       
    25 
       
    26 inline const TMsvSelectionOrdering& CMsvServerEntry::Sort()
       
    27 /** Gets the current sort order of children of the entry. 
       
    28 
       
    29 @return Current sort type */
       
    30 	{
       
    31 	return iOrdering;
       
    32 	}
       
    33 
       
    34 inline void CMsvServerEntry::SetSort(TMsvSelectionOrdering& aOrdering)
       
    35 /** Sets the sort order that is used when listing children, for example with GetChildren().
       
    36 
       
    37 @param aOrdering Sort order to use */
       
    38 	{
       
    39 	iOrdering=aOrdering;
       
    40 	}
       
    41 
       
    42 inline void CMsvServerEntry::SetMtm(TUid aMtm)
       
    43 /** Sets this MTM sorting type to specified UID. When children of an entry are 
       
    44 sorted, entries belonging to the same MTM type can be grouped together. 
       
    45 
       
    46 @param aMtm UID of MTM for sort */
       
    47 	{
       
    48 	iMtm=aMtm;
       
    49 	}