Original Symbian headers
Selected EUSER, Window Server, networking, graphics and device declarations
Loading...
Searching...
No Matches
MPictureFactory Class Referenceabstract

Abstract interface for instantiating and restoring new CPicture derived objects. More...

#include <gdi.h>

Public Member Functions

virtual void NewPictureL (TPictureHeader &aHeader, const CStreamStore &aDeferredPictureStore) const =0
 Interface to the picture restoration process that ensures that a picture of the correct type is restored.
 

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

API status
Published to all clients. Released API.

Definition at line 3698 of file gdi.h.

Member Function Documentation

◆ NewPictureL()

virtual void MPictureFactory::NewPictureL ( TPictureHeader &  aHeader,
const CStreamStore &  aDeferredPictureStore 
) const
pure virtual

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:

just one CPicture-derived class, returning an error if the UID indicates that the stored picture is not of the required type

many different CPicture-derived classes, using the UID to choose which of the possible CPicture-derived classes should be instantiated

Parameters
aHeaderThe picture header that should be restored.
aDeferredPictureStoreThe store in which both the header and picture reside.

The documentation for this class was generated from the following file: