class CEmsPictureIE : public CEmsInformationElement |
CEmsPictureIE wraps the creation & modification of the picture small/large and vriable information element into a single class.
Format of Small/Large ----------------------------
Position (Octet) Bit Description 1 Start Position 2..n Picture Data
Format of variable ----------------------------
Position (Octet) Bit Description 1 Start Position 2 Width 3 Height 4..n Picture Data
3gpp Spec V5 section 9.2.3.24.10.1.7/8/9
Public Member Functions | |
---|---|
~CEmsPictureIE() | |
IMPORT_C void | CopyL(const CEmsPictureIE &) |
IMPORT_C CEmsInformationElement * | DuplicateL() |
IMPORT_C CFbsBitmap * | GetBitmapL() |
IMPORT_C CEmsPictureIE * | NewL(const CFbsBitmap &) |
CEmsPictureIE * | NewL() |
IMPORT_C TSize | SizeInPixels() |
Private Member Functions | |
---|---|
CEmsPictureIE() | |
void | ConstructL(const CFbsBitmap &) |
HBufC8 * | CreatePictureBufferL(const CFbsBitmap &) |
void | DecodeBodyL(const TPtrC8, TBool) |
void | EncodeBodyL(TPtr8, TBool) |
HBufC8 * | PictureBuf() |
Public Member Enumerations | |
---|---|
enum | TColors { EWhite = 0, EBlack = 1 } |
Inherited Enumerations | |
---|---|
CSmsInformationElement:TSmsInformationElementIdentifier |
Private Attributes | |
---|---|
HBufC8 * | iPictureBuf |
TSize | iSize |
Inherited Attributes | |
---|---|
CEmsInformationElement::iEncodedBodyLength | |
CEmsInformationElement::iStartPosition | |
CSmsInformationElement::iData | |
CSmsInformationElement::iIdentifier |
void | ConstructL | ( | const CFbsBitmap & | aBitmap | ) | [private] |
const CFbsBitmap & aBitmap |
IMPORT_C void | CopyL | ( | const CEmsPictureIE & | aSrc | ) |
const CEmsPictureIE & aSrc |
HBufC8 * | CreatePictureBufferL | ( | const CFbsBitmap & | aBitmap | ) | [private, static] |
const CFbsBitmap & aBitmap |
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 CEmsPictureIE * | NewL | ( | const CFbsBitmap & | aBitmap | ) | [static] |
const CFbsBitmap & aBitmap |
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.