RAknIconSrvClient Class Reference

#include <mw/AknIconSrvClient.h>

class RAknIconSrvClient : public RSessionBase

Inherits from

Public Member Functions
RAknIconSrvClient()
IMPORT_C TIntConnect()
TInt ConnectToServer()
voidDestroyIconData(CAknIconManager &)
IMPORT_C voidDisconnect()
TInt EnableCache(TBool)
voidFreeBitmap(CAknBitmap &)
TInt GetContentDimensions(CAknBitmap &, TAknContentDimensions &)
voidGetInitData(TAknIconInitData &)
RAknIconSrvClient *GetSession()
voidInitializeIconL(CAknBitmap &, CAknBitmap &, TAknContentDimensions &, const TAknIconParams &)
TInt PreserveIconData(CAknIconManager &)
void__SERVER_HEAP_FAILNEXT(TInt)
void__SERVER_HEAP_FAILNEXT_INCREASING(TInt)
void__SERVER_HEAP_MARK()
void__SERVER_HEAP_MARKEND()
void__SERVER_HEAP_RESET()
TInt __SERVER_HEAP_USED()
void__SERVER_RESET_DYNAMICALLY_CHANGING_ALLOCATIONS()
void__SERVER_SET_PREFERRED_ICON_DISPLAY_MODE(TDisplayMode)
Inherited Attributes
RHandleBase::iHandle
Inherited Enumerations
RHandleBase:TAttributes
RSessionBase:TAttachMode
Inherited Functions
RHandleBase::Attributes()const
RHandleBase::BTraceId()const
RHandleBase::Close()
RHandleBase::DoExtendedClose()
RHandleBase::Duplicate(const RThread &,TOwnerType)
RHandleBase::FullName()const
RHandleBase::FullName(TDes &)const
RHandleBase::Handle()const
RHandleBase::HandleInfo(THandleInfo *)
RHandleBase::Name()const
RHandleBase::NotifyDestruction(TRequestStatus &)
RHandleBase::Open(const TFindHandleBase &,TOwnerType)
RHandleBase::OpenByName(const TDesC &,TOwnerType,TInt)
RHandleBase::RHandleBase()
RHandleBase::RHandleBase(TInt)
RHandleBase::SetHandle(TInt)
RHandleBase::SetHandleNC(TInt)
RSessionBase::CreateSession(RServer2,const TVersion &)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TRequestStatus *)
RSessionBase::Open(RMessagePtr2,TInt,TOwnerType)
RSessionBase::Open(RMessagePtr2,TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Open(TInt,TOwnerType)
RSessionBase::Open(TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Send(TInt)const
RSessionBase::Send(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt)const
RSessionBase::SendReceive(TInt,TRequestStatus &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const
RSessionBase::SetReturnedHandle(TInt)
RSessionBase::SetReturnedHandle(TInt,RHandleBase &)
RSessionBase::SetReturnedHandle(TInt,const TSecurityPolicy &)
RSessionBase::ShareAuto()
RSessionBase::ShareProtected()

Detailed Description

A client-side handle to a session with an icon server which allows handling icons (bitmaps).

Since
3.0

Constructor & Destructor Documentation

RAknIconSrvClient ( )

RAknIconSrvClient()

C++ default constructor.

Member Function Documentation

Connect ( )

IMPORT_C TIntConnect()[static]

Connects AknIconSrv session. It is stored in TLS. Application framework calls this in application startup.

Since
3.0
Return Value
Symbian OS standard error code.

ConnectToServer ( )

TInt ConnectToServer()

Connects to server.

Return Value
Symbian OS standard error code .

DestroyIconData ( CAknIconManager & )

voidDestroyIconData(CAknIconManager &aBitmap)const

Removes icon data (e.g. SVG-T DOM tree) from the memory.

Parameters
aBitmapBitmap.

Disconnect ( )

IMPORT_C voidDisconnect()[static]
Disconnects the session.
Since
3.0

EnableCache ( TBool )

TInt EnableCache(TBoolaEnable)

Enable or disable the AknIcon cache.

Return Value
Symbian OS standard error code .

FreeBitmap ( CAknBitmap & )

voidFreeBitmap(CAknBitmap &aBitmap)const

Frees the shared bitmap.

Parameters
aBitmapBitmap.

GetContentDimensions ( CAknBitmap &, TAknContentDimensions & )

TInt GetContentDimensions(CAknBitmap &aBitmap,
TAknContentDimensions &aContentDimensions
)const

Gets content dimensions of the icon.

Parameters
aBitmapBitmap.
aContentDimensionsThe content dimensions of an icon.
Return Value
Symbian OS standard error code .

GetInitData ( TAknIconInitData & )

voidGetInitData(TAknIconInitData &aData)const

Retrieves initialization data from server side.

Parameters
aDataInitialization data.

GetSession ( )

RAknIconSrvClient *GetSession()[static]

Returns the connected server client from TLS.

Return Value
The connected server client from TLS.
Panic Codes
EClientSessionNotConnected

InitializeIconL ( CAknBitmap &, CAknBitmap &, TAknContentDimensions &, const TAknIconParams & )

voidInitializeIconL(CAknBitmap &aBitmap,
CAknBitmap &aMask,
TAknContentDimensions &aContentDimensions,
const TAknIconParams &aInfo
)const

Initializes the given bitmap and mask according to the member data stored in them and the given pixel size.

Parameters
aBitmapBitmap.
aMaskMask of the bitmap.
aContentDimensionsThe content dimensions if it is a SVG icon.
aInfoparameters of the icon.

PreserveIconData ( CAknIconManager & )

TInt PreserveIconData(CAknIconManager &aBitmap)const

Preserves icon data (e.g. SVG-T DOM tree) in memory.

Parameters
aBitmapBitmap.
Return Value
Symbian OS standard error code .

__SERVER_HEAP_FAILNEXT ( TInt )

void__SERVER_HEAP_FAILNEXT(TIntaCount)const

__SERVER_HEAP_FAILNEXT_INCREASING ( TInt )

void__SERVER_HEAP_FAILNEXT_INCREASING(TIntaCount)const

__SERVER_HEAP_MARK ( )

void__SERVER_HEAP_MARK()const

Test functions (debug only).

__SERVER_HEAP_MARKEND ( )

void__SERVER_HEAP_MARKEND()const

__SERVER_HEAP_RESET ( )

void__SERVER_HEAP_RESET()const

__SERVER_HEAP_USED ( )

TInt __SERVER_HEAP_USED()const

__SERVER_RESET_DYNAMICALLY_CHANGING_ALLOCATIONS ( )

void__SERVER_RESET_DYNAMICALLY_CHANGING_ALLOCATIONS()const

__SERVER_SET_PREFERRED_ICON_DISPLAY_MODE ( TDisplayMode )

void__SERVER_SET_PREFERRED_ICON_DISPLAY_MODE(TDisplayModeaMode)const