1 // Copyright (c) 1999-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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // This file contains the class definition for TSmsUserDataSettings
32 * Operations on TP-UD User Data.
34 class TSmsUserDataSettings
37 IMPORT_C TSmsUserDataSettings::TSmsUserDataSettings();
39 inline TSmsDataCodingScheme::TSmsAlphabet Alphabet() const;
40 inline void SetAlphabet(TSmsDataCodingScheme::TSmsAlphabet aAlphabet);
41 inline TBool TextCompressed() const;
42 inline void SetTextCompressed(TBool aCompressed);
43 IMPORT_C TBool TextConcatenated(TBool* aIs16Bit=NULL) const;
44 IMPORT_C void SetTextConcatenated(TBool aConcatenated,TBool aIs16Bit=EFalse);
46 IMPORT_C void InternalizeL(RReadStream& aStream);
47 IMPORT_C void ExternalizeL(RWriteStream& aStream) const;
50 enum TSmsUserDataSettingsFlags
52 ESmsFlagCompressed=0x01,
53 ESmsFlagConcatenated=0x02,
54 ESmsFlagConcatenatedUsing16BitReference=0x04
57 TSmsDataCodingScheme::TSmsAlphabet iAlphabet;
62 #include "gsmuset.inl"
64 #endif // !defined __GSMUSET_H__