MEikPictureFactory Class Reference

class MEikPictureFactory

Provides the support for embedding something other than a CApaDoor.

Public Member Functions
voidEditL(const TPictureHeader &, TBool)
IMPORT_C TUidId()
TPictureHeader InsertL(TUid, CBase *)
const MPictureFactory *PictureFactory(TUid)
TBool SupportsPictureType(TUid)
Private Member Functions
IMPORT_C voidMEikPictureFactory_Reserved_1()
IMPORT_C voidMEikPictureFactory_Reserved_2()

Member Functions Documentation

EditL(const TPictureHeader &, TBool)

voidEditL(const TPictureHeader &aPictureHeader,
TBoolaReadOnly
)[pure virtual]

Enables editing/viewing of an object

Parameters

const TPictureHeader & aPictureHeaderThe picture header.
TBool aReadOnlyETrue if object is read only, otherwise EFalse.

Id()

IMPORT_C TUidId()const [virtual]

Gets the Id of the picture factory.

InsertL(TUid, CBase *)

TPictureHeader InsertL(TUidaPictureType,
CBase *aData
)[pure virtual]

Inserts a new picture object.

Ownership of aData transfers immediately the function is called.

Parameters

TUid aPictureTypeThe picture type.
CBase * aDataThe base address of the data.

MEikPictureFactory_Reserved_1()

IMPORT_C voidMEikPictureFactory_Reserved_1()[private, virtual]

MEikPictureFactory_Reserved_2()

IMPORT_C voidMEikPictureFactory_Reserved_2()[private, virtual]

PictureFactory(TUid)

const MPictureFactory *PictureFactory(TUidaPictureType)const [pure virtual]

Gets a pointer to the picture factory.

Use of this function does not transfer ownership of the picture factory to the caller.

Parameters

TUid aPictureTypeThe picture type.

SupportsPictureType(TUid)

TBool SupportsPictureType(TUidaPictureType)const [pure virtual]

Tests if the factory supports the specified picture type.

Parameters

TUid aPictureTypeThe picture type.