pushmtm/Plugins/PushContentHandler/CSLContentHandler.inl
changeset 0 84ad3b177aa3
child 35 5c11946e75b3
equal deleted inserted replaced
-1:000000000000 0:84ad3b177aa3
       
     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 #ifdef __SERIES60_PUSH_SL
       
    21 
       
    22 inline void CSLContentHandler::SetActionFlag( TBool aAction )
       
    23 	{
       
    24 	if ( aAction )
       
    25         {
       
    26 		iAttributes |= EAction;
       
    27         }
       
    28 	else
       
    29         {
       
    30 		iAttributes &=~ EAction;
       
    31         }
       
    32 	}
       
    33 
       
    34 inline TBool CSLContentHandler::ActionFlag() const
       
    35 	{
       
    36 	return iAttributes & EAction;
       
    37 	}
       
    38 
       
    39 inline void CSLContentHandler::SetHrefFlag( TBool aHref )
       
    40 	{
       
    41 	if ( aHref )
       
    42         {
       
    43 		iAttributes |= EHref;
       
    44         }
       
    45 	else
       
    46         {
       
    47 		iAttributes &=~ EHref;
       
    48         }
       
    49 	}
       
    50 
       
    51 inline TBool CSLContentHandler::HrefFlag() const
       
    52 	{
       
    53 	return iAttributes & EHref;
       
    54 	}
       
    55 
       
    56 #endif // __SERIES60_PUSH_SL
       
    57