pushmtm/Plugins/PushContentHandler/CSLContentHandler.inl
branchRCL_3
changeset 69 4455192101e4
parent 65 8e6fa1719340
equal deleted inserted replaced
65:8e6fa1719340 69:4455192101e4
     1 /*
       
     2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Inline functions.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 inline void CSLContentHandler::SetActionFlag( TBool aAction )
       
    22 	{
       
    23 	if ( aAction )
       
    24         {
       
    25 		iAttributes |= EAction;
       
    26         }
       
    27 	else
       
    28         {
       
    29 		iAttributes &=~ EAction;
       
    30         }
       
    31 	}
       
    32 
       
    33 inline TBool CSLContentHandler::ActionFlag() const
       
    34 	{
       
    35 	return iAttributes & EAction;
       
    36 	}
       
    37 
       
    38 inline void CSLContentHandler::SetHrefFlag( TBool aHref )
       
    39 	{
       
    40 	if ( aHref )
       
    41         {
       
    42 		iAttributes |= EHref;
       
    43         }
       
    44 	else
       
    45         {
       
    46 		iAttributes &=~ EHref;
       
    47         }
       
    48 	}
       
    49 
       
    50 inline TBool CSLContentHandler::HrefFlag() const
       
    51 	{
       
    52 	return iAttributes & EHref;
       
    53 	}
       
    54 
       
    55