class MSgImageCollectionAdapter : public MSgResourceAdapter |
This interface must be implemented by all the user-side objects in the adaptation layer of the Graphics subsystem which are referenced by instances of RSgImageCollection . The interface between the user-side and the kernel-side parts of the adaptation layer is outside the scope of the specification of the Graphics Resource API.
Public Member Functions | |
---|---|
TInt | Count () |
TInt | GetInfo ( TSgImageInfo &) |
TInt | OpenImage ( TInt , MSgDrawableAdapter *&) |
const TSurfaceId & | SurfaceId () |
TInt | Count | ( | ) | const [pure virtual] |
Retrieves the number of images in the image collection represented by this adapter object.
TInt | GetInfo | ( | TSgImageInfo & | aInfo | ) | const [pure virtual] |
Retrieves the values of the attributes of the images in the image collection represented by this adapter object.
TSgImageInfo & aInfo | On input, the globally unique identifiers of the user-defined attributes to be retrieved from the image collection, if any. On return, the values of the attributes of the images in the collection and the values of the selected user-defined attributes. |
TInt | OpenImage | ( | TInt | aIndex, |
MSgDrawableAdapter *& | aResult | |||
) | [pure virtual] |
Opens a new handle to one of the images in the image collection represented by this adapter object. If there are no handles to the image open in the calling process then this function creates a new adapter object that represents the image in the context of the calling process. Otherwise this function just increments the reference count of the existing adapter object that represents the image in the context of the calling process.
TInt aIndex | The index of the image within the image collection. |
MSgDrawableAdapter *& aResult | On return, a pointer to the adapter object that represents the specified image in the collection. |
const TSurfaceId & | SurfaceId | ( | ) | const [pure virtual] |
Retrieves the surface identifier of the image collection represented by this adapter object.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.