CEmsAnimationIE Class Reference
class CEmsAnimationIE : public CEmsInformationElement
|
CEmsAnimationIE
wraps the creation & modification of both an EMS large animation & small animation information element into a single class.
Format of Large/User Animation Information Element. -----------------------------------------------
Position (Octet) Bit Description 1 Start Position 2..n Animation Data
The start position of the information element is relative to the PDU that contains the object. However when within this class it will be an converted to an absolute position within the message.
3gpp Spec V5 section 9.2.3.24.10.1.5/6
Constructor & Destructor Documentation
CEmsAnimationIE()
CEmsAnimationIE
|
(
|
)
|
[private]
|
~CEmsAnimationIE()
IMPORT_C
|
~CEmsAnimationIE
|
(
|
)
|
|
Member Functions Documentation
ConstructL(const CFbsBitmap &)
void
|
ConstructL
|
(
|
const
CFbsBitmap
&
|
aBitmap
|
)
|
[private]
|
Constructs the object from the given FbsBitmap Will convert colour bitmaps into the correct format.
-
leave
-
KErrTooBig if the animation will not fit within a single pdu.
-
leave
-
KErrTooBig if the animation is not one of the Two animation sizes.
Parameters
const
CFbsBitmap
& aBitmap
|
the source bitmap containing the 4 frames.
|
CopyL(const CEmsAnimationIE &)
Copys the information element out of the source into this object.
DecodeBodyL(const TPtrC8, TBool)
void
|
DecodeBodyL
|
(
|
const
TPtrC8
|
aPtr,
|
|
TBool
|
aIsFromSerialisation
|
|
)
|
[private, virtual]
|
Decodes the raw data out of an information element into this class.
-
leave
-
KErrargument If the size of the data does not match what is expected.
Parameters
const
TPtrC8
aPtr
|
The raw predefined animation data
|
TBool
aIsFromSerialisation
|
|
DuplicateL()
Creates a Copy of the object.
EncodeBodyL(TPtr8, TBool)
void
|
EncodeBodyL
|
(
|
TPtr8
|
aPtr,
|
|
TBool
|
aIsForSerialisation
|
|
)
|
const [private, virtual]
|
Encodes the animation object into its raw format. (no IE id)
Parameters
TPtr8
aPtr
|
the buffer to be used which is to contain the data
|
TBool
aIsForSerialisation
|
|
GetBitmapL(const TSize &, const TDesC8 &)
NewL()
Creates a new of an animation object.
NewL(const CFbsBitmap &)
Creates a new EMS animation object from a given bitmap
-
leave
-
KErrTooBig if the animation does not match the size of a Small/Large animation.
-
capability
-
None
Parameters
const
CFbsBitmap
& aBitmap
|
a 4 frame Bitmap that is converted into an EMS animation type.
|
Member Data Documentation
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.