#include <mw/AknIconSrvClient.h>
class RAknIconSrvClient : public RSessionBase |
Public Member Functions | |
---|---|
RAknIconSrvClient() | |
IMPORT_C TInt | Connect() |
TInt | ConnectToServer() |
void | DestroyIconData(CAknIconManager &) |
IMPORT_C void | Disconnect() |
TInt | EnableCache(TBool) |
void | FreeBitmap(CAknBitmap &) |
TInt | GetContentDimensions(CAknBitmap &, TAknContentDimensions &) |
void | GetInitData(TAknIconInitData &) |
RAknIconSrvClient * | GetSession() |
void | InitializeIconL(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 |
A client-side handle to a session with an icon server which allows handling icons (bitmaps).
IMPORT_C TInt | Connect | ( | ) | [static] |
Connects AknIconSrv session. It is stored in TLS. Application framework calls this in application startup.
void | DestroyIconData | ( | CAknIconManager & | aBitmap | ) | const |
Removes icon data (e.g. SVG-T DOM tree) from the memory.
Parameters | |
---|---|
aBitmap | Bitmap. |
Enable or disable the AknIcon cache.
void | FreeBitmap | ( | CAknBitmap & | aBitmap | ) | const |
Frees the shared bitmap.
Parameters | |
---|---|
aBitmap | Bitmap. |
TInt | GetContentDimensions | ( | CAknBitmap & | aBitmap, |
TAknContentDimensions & | aContentDimensions | |||
) | const |
Gets content dimensions of the icon.
Parameters | |
---|---|
aBitmap | Bitmap. |
aContentDimensions | The content dimensions of an icon. |
void | GetInitData | ( | TAknIconInitData & | aData | ) | const |
Retrieves initialization data from server side.
Parameters | |
---|---|
aData | Initialization data. |
RAknIconSrvClient * | GetSession | ( | ) | [static] |
Returns the connected server client from TLS.
Panic Codes | |
---|---|
EClientSessionNotConnected |
void | InitializeIconL | ( | 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 | |
---|---|
aBitmap | Bitmap. |
aMask | Mask of the bitmap. |
aContentDimensions | The content dimensions if it is a SVG icon. |
aInfo | parameters of the icon. |
TInt | PreserveIconData | ( | CAknIconManager & | aBitmap | ) | const |
Preserves icon data (e.g. SVG-T DOM tree) in memory.
Parameters | |
---|---|
aBitmap | Bitmap. |
void | __SERVER_HEAP_FAILNEXT | ( | TInt | aCount | ) | const |
void | __SERVER_HEAP_FAILNEXT_INCREASING | ( | TInt | aCount | ) | const |
void | __SERVER_HEAP_MARKEND | ( | ) | const |
void | __SERVER_HEAP_RESET | ( | ) | const |
TInt | __SERVER_HEAP_USED | ( | ) | const |
void | __SERVER_RESET_DYNAMICALLY_CHANGING_ALLOCATIONS | ( | ) | const |
void | __SERVER_SET_PREFERRED_ICON_DISPLAY_MODE | ( | TDisplayMode | aMode | ) | const |