epoc32/include/gsmuset.inl
branchSymbian2
changeset 2 2fe1408b6811
child 4 837f303aceeb
equal deleted inserted replaced
1:666f914201fb 2:2fe1408b6811
       
     1 // Copyright (c) 2003-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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 
       
    17 
       
    18 
       
    19 /**
       
    20  @file
       
    21  
       
    22  Gets the Alphabet for the User Data.
       
    23  
       
    24  @return Alphabet 
       
    25  
       
    26 */
       
    27 inline TSmsDataCodingScheme::TSmsAlphabet TSmsUserDataSettings::Alphabet() const
       
    28 	{
       
    29 	return iAlphabet;
       
    30 	}
       
    31 
       
    32 
       
    33 /**
       
    34  *  Sets the Alphabet for the User Data.
       
    35  *  
       
    36  *  @param aAlphabet Alphabet 
       
    37  */
       
    38 inline void TSmsUserDataSettings::SetAlphabet(TSmsDataCodingScheme::TSmsAlphabet aAlphabet)
       
    39 	{
       
    40 	iAlphabet=aAlphabet;
       
    41 	}
       
    42 
       
    43 
       
    44 /**
       
    45  *  Tests if the message text is compressed.
       
    46  *  
       
    47  *  @return True if the message text is compressed 
       
    48  */
       
    49 inline TBool TSmsUserDataSettings::TextCompressed() const
       
    50 	{
       
    51 	return iFlags&ESmsFlagCompressed;
       
    52 	}
       
    53 
       
    54 
       
    55 /**
       
    56  *  Sets if the message text is compressed.
       
    57  *  
       
    58  *  @param aCompressed True if the message text is compressed 
       
    59  */
       
    60 inline void TSmsUserDataSettings::SetTextCompressed(TBool aCompressed)
       
    61 	{
       
    62 	iFlags=aCompressed? iFlags|ESmsFlagCompressed: iFlags&(~ESmsFlagCompressed);
       
    63 	}