class CEmsSoundIE : public CEmsInformationElement |
CEmsSoundIE wraps the creation & modification of the user & predefined sound information elements into a single class.
Format of Extended Object PreDefined Sound. ------------------------------------------
Position (Octet) Bit Description 1 Start Position 2 Number of predef sound
Format of Extended Object User Defined Sound. --------------------------------------------
Position (Octet) Bit Description 1 Start Position 2..n Sound Data (iMelody)
3gpp Spec V5 section 9.2.3.24.10.1.2/3
Public Member Functions | |
---|---|
~CEmsSoundIE() | |
IMPORT_C void | CopyL(const CEmsSoundIE &) |
IMPORT_C CEmsInformationElement * | DuplicateL() |
IMPORT_C const HBufC8 * | Melody() |
CEmsSoundIE * | NewL() |
IMPORT_C CEmsSoundIE * | NewL(const TDesC8 &) |
Private Member Functions | |
---|---|
CEmsSoundIE() | |
void | ConstructL(const TDesC8 &) |
void | DecodeBodyL(const TPtrC8, TBool) |
void | EncodeBodyL(TPtr8, TBool) |
void | Reset() |
Inherited Enumerations | |
---|---|
CSmsInformationElement:TSmsInformationElementIdentifier |
Private Attributes | |
---|---|
HBufC8 * | iMelody |
Inherited Attributes | |
---|---|
CEmsInformationElement::iEncodedBodyLength | |
CEmsInformationElement::iStartPosition | |
CSmsInformationElement::iData | |
CSmsInformationElement::iIdentifier |
void | ConstructL | ( | const TDesC8 & | aMelody | ) | [private] |
const TDesC8 & aMelody |
IMPORT_C void | CopyL | ( | const CEmsSoundIE & | aSrc | ) |
const CEmsSoundIE & aSrc |
void | DecodeBodyL | ( | const TPtrC8 | aPtr, |
TBool | aIsFromSerialisation | |||
) | [private, virtual] |
Decodes the raw data out of an information element into this class.
void | EncodeBodyL | ( | TPtr8 | aPtr, |
TBool | aIsForSerialisation | |||
) | const [private, virtual] |
Encodes the information element into its raw format. (no IE id)
IMPORT_C CEmsSoundIE * | NewL | ( | const TDesC8 & | aMelody | ) | [static] |
const TDesC8 & aMelody |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.