Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

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



Location: gdi.h

Class MPictureFactory

MPictureFactory

Support

Supported from 5.0

Description

Abstract interface for instantiating and restoring new CPicture derived objects.

A concrete derived class creates pictures of one or more specific types. The class has no member data and just one function, NewPictureL, that needs to be provided by derived classes.

Defined in MPictureFactory:
NewPictureL()


Member functions


NewPictureL()

virtual void NewPictureL(TPictureHeader& aHeader,const CStreamStore& aDeferredPictureStore) const = 0;

Description

Interface to the picture restoration process that ensures that a picture of the correct type is restored.

The class of the object to be restored is determined by the UID of the stored picture, contained in the specified picture header.

The function can allow the restoration of:

Parameters

TPictureHeader& aHeader

The picture header that should be restored.

const CStreamStore& aDeferredPictureStore

The store in which both the header and picture reside.