messagingfw/msgsrvnstore/server/src/msvenhancesearchsortutil.cpp
changeset 0 8e480a14352b
equal deleted inserted replaced
-1:000000000000 0:8e480a14352b
       
     1 // Copyright (c) 2007-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 // msvenhancesearchsortutil..CPP
       
    15 // 
       
    16 //
       
    17 
       
    18 #include <msvenhancesearchsortutil.h>
       
    19 
       
    20 
       
    21 EXPORT_C TMsvEnhanceSearchSortUtil::TMsvEnhanceSearchSortUtil()
       
    22 {
       
    23 	iPartList=0;
       
    24 }
       
    25 
       
    26 /*
       
    27 Sets the flag in iPartList variable
       
    28 */
       
    29 EXPORT_C void TMsvEnhanceSearchSortUtil :: SetSearchSortSetting(TMsvEnhanceSearchSortSetting aPartList)
       
    30 {
       
    31 	iPartList |= aPartList;
       
    32 }
       
    33 
       
    34 /*
       
    35 Returns iPartList TInt32 variable
       
    36 */
       
    37 EXPORT_C TInt32 TMsvEnhanceSearchSortUtil :: GetSearchSortSetting()
       
    38 {
       
    39 	return iPartList;
       
    40 }
       
    41 /*
       
    42 Removes the specified flag from iPartList variable
       
    43 */
       
    44 
       
    45 void TMsvEnhanceSearchSortUtil :: RemoveSearchSortSetting(TMsvEnhanceSearchSortSetting aPartList)
       
    46 {
       
    47 	iPartList &= ~aPartList;
       
    48 }
       
    49 
       
    50 
       
    51 
       
    52 
       
    53