MAlfTextureGroupLoadingCompletedObserver Class Reference

class MAlfTextureGroupLoadingCompletedObserver

Provides callback methods for getting notifications when texture manager finishes asynchronous texture loads for a group of textures.

The class willing to receive these events must implement the methods of this interface and register itself as an observer to a texture group.

Public Member Functions
void TextureGroupLoadingCompleted (CAlfTextureGroup &, TInt )

Member Functions Documentation

TextureGroupLoadingCompleted(CAlfTextureGroup &, TInt)

void TextureGroupLoadingCompleted ( CAlfTextureGroup & aTextureGroup,
TInt aErrorCode
) [pure virtual]
Called to notify the observer that loading of a texture group has been completed.
Note:

One should not commence loading of a new texture in this callback method. Also one should not make any changes to a texture group e.g. add or remove textures in this method.

Parameters

CAlfTextureGroup & aTextureGroup Group of textures that has been loaded.
TInt aErrorCode KErrNone if the loading of all textures was successful, otherwise one of the system-wide error codes indicating reason why the first failed texture loading failed.