MHuiTextureLoadingCompletedObserver Class Reference

class MHuiTextureLoadingCompletedObserver

Provides callback methods for getting notifications when texture manager finishes asynchronous texture loads. An observer of a CHuiTextureManager .

The class willing to receive these events must implement the methods of this interface, and then register itself to the obsevers list of the texture manager.

CHuiTextureManager

Public Member Functions
void TextureLoadingCompleted ( CHuiTexture &, TInt , TInt )

Member Functions Documentation

TextureLoadingCompleted(CHuiTexture &, TInt, TInt)

void TextureLoadingCompleted ( CHuiTexture & aTexture,
TInt aTextureId,
TInt aErrorCode
) [pure virtual]
Called to notify the observer that loading of a texture has been completed.
Note:

One should not commence loading of a new texture in this callback method.

Parameters

CHuiTexture & aTexture Reference to the texture that has been loaded.
TInt aTextureId Id of the texture in the texture manager. Can be used to identify the loaded texture, provided that an id was assigned to the texture.
TInt aErrorCode KErrNone if the load was successful, otherwise one of the system-wide error codes indicating reason why the texture loading failed.