epoc32/include/gsmuset.inl
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     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 "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 //
    15 
    16 /**
    17  @file
    18  
    19  Gets the Alphabet for the User Data.
    20  
    21  @return Alphabet 
    22  
    23 */
    24 inline TSmsDataCodingScheme::TSmsAlphabet TSmsUserDataSettings::Alphabet() const
    25 	{
    26 	return iAlphabet;
    27 	}
    28 
    29 
    30 /**
    31  *  Sets the Alphabet for the User Data.
    32  *  
    33  *  @param aAlphabet Alphabet 
    34  */
    35 inline void TSmsUserDataSettings::SetAlphabet(TSmsDataCodingScheme::TSmsAlphabet aAlphabet)
    36 	{
    37 	iAlphabet=aAlphabet;
    38 	}
    39 
    40 
    41 /**
    42  *  Tests if the message text is compressed.
    43  *  
    44  *  @return True if the message text is compressed 
    45  */
    46 inline TBool TSmsUserDataSettings::TextCompressed() const
    47 	{
    48 	return iFlags&ESmsFlagCompressed;
    49 	}
    50 
    51 
    52 /**
    53  *  Sets if the message text is compressed.
    54  *  
    55  *  @param aCompressed True if the message text is compressed 
    56  */
    57 inline void TSmsUserDataSettings::SetTextCompressed(TBool aCompressed)
    58 	{
    59 	iFlags=aCompressed? iFlags|ESmsFlagCompressed: iFlags&(~ESmsFlagCompressed);
    60 	}