|
|
|
class TApaPictureFactory : public MPictureFactory;
A factory class for instantiating and restoring an application's door.
A door factory object is constructed by the UI environment and can be accessed by calling CEikonEnv::PictureFactory().
MPictureFactory - Abstract interface for instantiating and restoring new CPicture derived objects.
TApaPictureFactory - A factory class for instantiating and restoring an application's door.
Defined in TApaPictureFactory:
NewPictureL(TPictureHeader &,const CStreamStore &)constConstructs and restores an application's door (picture) from a stream in the spe...SetIconSize(TSize)Sets the size of the icon.TApaPictureFactory()Constructor for TApaPictureFactory TApaPictureFactory(CApaProcess *)Constructs a door factory object for the specified application process.CApaDoorA wrapper for an embedded document that can be displayed in a user interface as ...IMPORT_C TApaPictureFactory(CApaProcess *aAppProcess);
Constructs a door factory object for the specified application process.
|
inline void SetIconSize(TSize aIconSizeInTwips);
Sets the size of the icon.
|
IMPORT_C virtual void NewPictureL(TPictureHeader &aPictureHeader, const CStreamStore &aPictureStore) const;
Constructs and restores an application's door (picture) from a stream in the specified store.
The restored door is a CApaDoor type object.
Note that the function can leave with KErrNoMemory if creation of the CApaDoor object fails.
|
TPictureHeaderPicture header providing an interface to a stored picture. The header holds:TPictureHeader::iPictureA swizzle storing either the ID of the stream in which the picture is stored, or...