CPbkThumbnailManager Class Reference
class CPbkThumbnailManager : public CBase |
Phonebook thumbnail manager. Contains operations for attaching, removing and querying thumbnail images connected to Phonebook contacts.
All the Set* operations convert the image to full color (24 bits/pixel) JPEG format and scale it to KPbkPersonalImageSize before connecting the image to a contact. Scaling does not change image's aspect ratio. If the original image is in JPEG format and its size is <=KPbkPersonalImageSize a copy of the original image is stored directly.
MPbkThumbnailOperation MPbkThumbnailGetObserver MPbkThumbnailSetObserver
Public Member Functions |
---|
| ~CPbkThumbnailManager() |
IMPORT_C MPbkThumbnailOperation * | GetThumbnailAsyncL(MPbkThumbnailGetObserver &, const CPbkContactItem &) |
IMPORT_C MPbkThumbnailOperation * | GetThumbnailAsyncL(MPbkThumbnailGetObserver &, const CPbkContactItem &, TPbkImageLoadParameters &) |
IMPORT_C MPbkThumbnailOperation * | GetThumbnailImageAsyncL(MPbkThumbnailGetImageObserver &, const CPbkContactItem &) |
IMPORT_C TBool | HasThumbnail(const CPbkContactItem &) |
IMPORT_C CPbkThumbnailManager * | NewL(CPbkContactEngine &) |
IMPORT_C void | RemoveThumbnail(CPbkContactItem &) |
IMPORT_C MPbkThumbnailOperation * | SetThumbnailAsyncL(MPbkThumbnailSetObserver &, CPbkContactItem &, const CFbsBitmap &) |
IMPORT_C MPbkThumbnailOperation * | SetThumbnailAsyncL(MPbkThumbnailSetObserver &, CPbkContactItem &, const TDesC8 &) |
IMPORT_C MPbkThumbnailOperation * | SetThumbnailAsyncL(MPbkThumbnailSetObserver &, CPbkContactItem &, const TDesC &) |
Constructor & Destructor Documentation
CPbkThumbnailManager(CPbkContactEngine &)
Member Functions Documentation
ConstructL()
void | ConstructL | ( | ) | [private] |
GetThumbnailAsyncL(MPbkThumbnailGetObserver &, const CPbkContactItem &)
Gets a thumbnail bitmap from a contact asynchronously.
GetThumbnailAsyncL(MPbkThumbnailGetObserver &, const CPbkContactItem &, TPbkImageLoadParameters &)
GetThumbnailImageAsyncL(MPbkThumbnailGetImageObserver &, const CPbkContactItem &)
Gets a thumbnail image from a contact asynchronously.
HasThumbnail(const CPbkContactItem &)
Returns true if aContactItem has a thumbnail image attached to it.
NewL(CPbkContactEngine &)
Creates and returns a new thumbnail manager.
RemoveThumbnail(CPbkContactItem &)
Removes any thumbnail image from aContactItem.
SetThumbnailAsyncL(MPbkThumbnailSetObserver &, CPbkContactItem &, const CFbsBitmap &)
Sets a thumbnail image for a contact asynchronously.
SetThumbnailAsyncL(MPbkThumbnailSetObserver &, CPbkContactItem &, const TDesC8 &)
Sets a thumbnail image for a contact asynchronously.
SetThumbnailAsyncL(MPbkThumbnailSetObserver &, CPbkContactItem &, const TDesC &)
Sets a thumbnail image for a contact asynchronously.
Member Data Documentation
CPbkContactEngine & iEngine
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.