Link against: aknskins.lib aknskinsrv.lib aknswallpaperutils.lib
None
#include <AknsControlContext.h>
Inherited by CAknsBasicBackgroundControlContext.
This interface is used by AknsDrawUtils to query context specific parameters, such as background override. Application should instantiate a class that implements this interface and provide pointer to it using MObjectProvider::MopSupplyObject
in the appropriate control.
This is a public class with exported functions. The class is not intended for user derivation - concrete classes implementing the interface are provided by the library. See CAknsBasicBackgroundControlContext
and CAknsListBoxBackgroundControlContext
for further details.
Public Member Functions | |
DECLARE_TYPE_ID (0x10005a29) public | |
Destructor. | |
virtual TInt | SupplySkinParameter (TAknsCCParameter aParam)=0 |
Provides context specific integer parameter. | |
virtual TAny * | SupplySkinObject (TAknsCCObject aObject)=0 |
Provides context specific object. | |
virtual TBool | IsCompatibleWithType (const TAknsControlContextType aType) const =0 |
Determines whether this control context is compatible with the given derived type. | |
virtual TInt | UpdateContext () |
Updates the control context, if necessary. | |
Static Public Member Functions | |
static IMPORT_C TTypeUid::Ptr | SupplyMopObject (TTypeUid aId, MAknsControlContext *aContext) |
Returns type UID pointer that can be used in MopSupplyObject. | |
Protected Member Functions | |
virtual TInt | Reserved2 () |
Reserved for future use. |
|
Destructor.
Destructor is provided only to enable deletion using base class pointer. Caller should never delete control context retrieved through |
|
Determines whether this control context is compatible with the given derived type.
Implemented in CAknsBasicBackgroundControlContext, CAknsFrameBackgroundControlContext, CAknsLayeredBackgroundControlContext, and CAknsListBoxBackgroundControlContext. |
|
Reserved for future use.
|
|
Returns type UID pointer that can be used in MopSupplyObject.
|
|
Provides context specific object.
Implemented in CAknsBasicBackgroundControlContext. |
|
Provides context specific integer parameter.
Implemented in CAknsBasicBackgroundControlContext. |
|
Updates the control context, if necessary. This method is called by the framework before drawing with the context. Base class implementation returns 0.
Reimplemented in CAknsFrameBackgroundControlContext, and CAknsListBoxBackgroundControlContext. |