API published in: S60 2nd Ed
Link against: aknskins.lib aknskinsrv.lib aknswallpaperutils.lib
Required Capabilities
None
#include <aknsdatacontext.h>
MAknsDataContext can be used to indicate need for specific skin items and thus to ensure that they are allocated before first use.
This is a public class with exported functions. The class is not usually intended for user derivation - concrete classes implementing
the interface are provided by the library. See AknsUtils::CreateDataContextForContainerL()
for further details.
Public Member Functions |
|
DECLARE_TYPE_ID (0x10005a28) public | |
Destructor. |
|
virtual void | ReserveItemL (const TAknsItemID &aID)=0 |
Reserves and allocates specified item. |
|
virtual void | ReleaseItem (const TAknsItemID &aID)=0 |
Indicates that specified item will no longer be used. |
|
Static Public Member Functions |
|
static IMPORT_C TTypeUid::Ptr | SupplyMopObject (TTypeUid aId, MAknsDataContext *aContext) |
Returns type UID pointer that can be used in MopSupplyObject. |
|
Protected Member Functions |
|
virtual TInt | Reserved1 () |
Reserved for future use. |
|
virtual TInt | Reserved2 () |
Reserved for future use. |
|
Destructor.
Destructor is only provided to enable deletion using base class pointer. Caller should never delete context retrieved using
|
|
Indicates that specified item will no longer be used. Instructs the data context that the specified item will not be used by caller anymore. Exact behavior (e.g. whether cached instance is deallocated) depends on the cache policy of data context and skin instance. Controls should not usually call this method, but instead allow data context (in most cases implemented by a container) go out of scope.
|
|
Reserved for future use. |
|
Reserved for future use. |
|
Reserves and allocates specified item.
Instructs the data context that the specified item will be used by caller and should be allocated and cached by skin instance.
Any control using cached skin items should reserve them, preferably in
|
|
Returns type UID pointer that can be used in MopSupplyObject.
|