Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: eikenv.h
Link against:

Class MEikPictureFactory

MEikPictureFactory

Support

Supported from 6.1

Description

Provides the support for embedding something other than a CApaDoor.

Defined in MEikPictureFactory:
EditL(), Id(), InsertL(), PictureFactory(), SupportsPictureType()


Member functions


Id()

virtual TUid Id() const;

Description

Gets the Id of the picture factory.

Return value

TUid

The UID.


SupportsPictureType()

virtual TBool SupportsPictureType(TUid aPictureType) const=0;

Description

Tests if the factory supports the specified picture type.

Parameters

TUid aPictureType

The picture type.

Return value

TBool

ETrue if the factory supports the specified picture type, otherwise EFalse.


PictureFactory()

virtual const MPictureFactory* PictureFactory(TUid aPictureType) const=0;

Description

Gets a pointer to the real picture factory which is required by ETEXT.

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

Parameters

TUid aPictureType

The picture type.

Return value

MPictureFactory*

Pointer to the picture factory.


InsertL()

virtual TPictureHeader InsertL(TUid aPictureType,CBase* aData)=0;

Description

Inserts a new picture object.

Ownership of aData transfers immediately the function is called.

Parameters

TUid aPictureType

The picture type.

CBase* aData

The base address of the data.

Return value

TPictureHeader

The picture header.


EditL()

virtual void EditL(const TPictureHeader& aPictureHeader,TBool aReadOnly)=0;

Description

Enables editing/viewing of an object

Parameters

const TPictureHeader& aPictureHeader

The picture header.

const TBool aReadOnly

ETrue if object is read only, otherwise EFalse.