Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: EIKENV.H
Link against: eikcore.lib

Class MEikPictureFactory

class MEikPictureFactory;

Description

Provides the support for embedding something other than a CApaDoor.

Members

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


Member functions


Id()

virtual IMPORT_C 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 picture factory.

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

Parameters

TUid aPictureType

The picture type.

Return value

const 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.

TBool aReadOnly

ETrue if object is read only, otherwise EFalse.


MEikPictureFactory_Reserved_1()

private: virtual IMPORT_C void MEikPictureFactory_Reserved_1();

Description


MEikPictureFactory_Reserved_2()

private: virtual IMPORT_C void MEikPictureFactory_Reserved_2();

Description