1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/gsmuset.inl Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -0,0 +1,63 @@
1.4 +// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// 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
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +//
1.18 +
1.19 +
1.20 +
1.21 +
1.22 +/**
1.23 + @file
1.24 +
1.25 + Gets the Alphabet for the User Data.
1.26 +
1.27 + @return Alphabet
1.28 +
1.29 +*/
1.30 +inline TSmsDataCodingScheme::TSmsAlphabet TSmsUserDataSettings::Alphabet() const
1.31 + {
1.32 + return iAlphabet;
1.33 + }
1.34 +
1.35 +
1.36 +/**
1.37 + * Sets the Alphabet for the User Data.
1.38 + *
1.39 + * @param aAlphabet Alphabet
1.40 + */
1.41 +inline void TSmsUserDataSettings::SetAlphabet(TSmsDataCodingScheme::TSmsAlphabet aAlphabet)
1.42 + {
1.43 + iAlphabet=aAlphabet;
1.44 + }
1.45 +
1.46 +
1.47 +/**
1.48 + * Tests if the message text is compressed.
1.49 + *
1.50 + * @return True if the message text is compressed
1.51 + */
1.52 +inline TBool TSmsUserDataSettings::TextCompressed() const
1.53 + {
1.54 + return iFlags&ESmsFlagCompressed;
1.55 + }
1.56 +
1.57 +
1.58 +/**
1.59 + * Sets if the message text is compressed.
1.60 + *
1.61 + * @param aCompressed True if the message text is compressed
1.62 + */
1.63 +inline void TSmsUserDataSettings::SetTextCompressed(TBool aCompressed)
1.64 + {
1.65 + iFlags=aCompressed? iFlags|ESmsFlagCompressed: iFlags&(~ESmsFlagCompressed);
1.66 + }