| 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.
| Public Member Functions | |
|---|---|
| void | TextureLoadingCompleted ( CHuiTexture &, TInt , TInt ) |
| void | TextureLoadingCompleted | ( | CHuiTexture & | aTexture, |
| TInt | aTextureId, | |||
| TInt | aErrorCode | |||
| ) | [pure virtual] | |||
One should not commence loading of a new texture in this callback method.
| 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. |
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.