CThumbnailObjectSource Class Reference
| class CThumbnailObjectSource : public CBase |
Object source for thumbnails.
Class for encapsulating the data source for objects.
| Public Member Functions |
|---|
| ~CThumbnailObjectSource() |
| IMPORT_C CFbsBitmap * | Bitmap() |
| IMPORT_C TDesC8 * | Buffer() |
| void | ConstructL(const TDesC &, const TDesC &, TThumbnailId) |
| void | ConstructL(CFbsBitmap *, const TDesC &) |
| void | ConstructL(TDesC8 *, const TDesC &, const TDesC &) |
| IMPORT_C RFile64 & | FileHandle() |
| IMPORT_C CFbsBitmap * | GetBitmapOwnership() |
| IMPORT_C TDesC8 * | GetBufferOwnership() |
| IMPORT_C TThumbnailId | Id() |
| IMPORT_C const TDesC8 & | MimeType() |
| IMPORT_C CThumbnailObjectSource * | NewL(const TDesC &, const TDesC &) |
| IMPORT_C CThumbnailObjectSource * | NewL(const RFile64 &, const TDesC &) |
| IMPORT_C CThumbnailObjectSource * | NewL(CFbsBitmap *, const TDesC &) |
| IMPORT_C CThumbnailObjectSource * | NewL(TDesC8 *, TDesC &, const TDesC &) |
| IMPORT_C CThumbnailObjectSource * | NewL(const TDesC &, TThumbnailId, const TDesC &) |
| IMPORT_C CThumbnailObjectSource * | NewLC(const TDesC &, const TDesC &) |
| IMPORT_C CThumbnailObjectSource * | NewLC(const RFile64 &, const TDesC &) |
| IMPORT_C CThumbnailObjectSource * | NewLC(CFbsBitmap *, const TDesC &) |
| IMPORT_C CThumbnailObjectSource * | NewLC(TDesC8 *, TDesC &, const TDesC &) |
| IMPORT_C CThumbnailObjectSource * | NewLC(const TDesC &, TThumbnailId, const TDesC &) |
| IMPORT_C const TDesC & | Uri() |
Constructor & Destructor Documentation
CThumbnailObjectSource()
| CThumbnailObjectSource | ( | ) | [private] |
~CThumbnailObjectSource()
| ~CThumbnailObjectSource | ( | ) | [virtual] |
Member Functions Documentation
ConstructL(const TDesC &, const TDesC &)
| void | ConstructL | ( | const TDesC & | aUri, |
| | const TDesC & | aMimeType |
| | ) | [private] |
Symbian 2nd phase constructor can leave.
Parameters
| const TDesC & aUri | Object URI or a full path to a file in the file system. |
| const TDesC & aMimeType | MIME type. Optional, but should be specified if known. |
ConstructL(const RFile64 &, const TDesC &)
| void | ConstructL | ( | const RFile64 & | aFile, |
| | const TDesC & | aMimeType |
| | ) | [private] |
Symbian 2nd phase constructor can leave.
Parameters
| const RFile64 & aFile | File handle. |
| const TDesC & aMimeType | MIME type. Optional, but should be specified if known. |
ConstructL(const TDesC &, const TDesC &, TThumbnailId)
Symbian 2nd phase constructor can leave.
ConstructL(CFbsBitmap *, const TDesC &)
Symbian 2nd phase constructor can leave.
ConstructL(TDesC8 *, const TDesC &, const TDesC &)
Symbian 2nd phase constructor can leave.
Parameters
| TDesC8 * aBuffer | Buffer. |
| const TDesC & aMimeType | MIME type. Optional, but should be specified if known. |
| const TDesC & aUri | |
FileHandle()
| IMPORT_C RFile64 & | FileHandle | ( | ) | |
GetBitmapOwnership()
Gets ownership of bitmap from source object. After that Bitmap() returns NULL.
GetBufferOwnership()
| IMPORT_C TDesC8 * | GetBufferOwnership | ( | ) | |
Gets ownership of buffer from source object. After that Buffer() returns NULL.
MimeType()
| IMPORT_C const TDesC8 & | MimeType | ( | ) | |
NewL(const TDesC &, const TDesC &)
Parameters
| const TDesC & aUri | Object URI or a full path to a file in the file system. |
| const TDesC & aMimeType =
KNullDesC
| MIME type. Optional, but should be specified if known. |
NewL(const RFile64 &, const TDesC &)
Construct a new CThumbnailObjectSource referring to a file handle. The file handle must refer to an open file and it must remain valid until this object source is deleted.
Parameters
| const RFile64 & aFile | File handle. |
| const TDesC & aMimeType =
KNullDesC
| MIME type. Optional, but should be specified if known. |
NewL(CFbsBitmap *, const TDesC &)
Parameters
| CFbsBitmap * aBitmap | |
| const TDesC & aUri | Object URI or a full path to a file in the file system. |
NewL(TDesC8 *, TDesC &, const TDesC &)
Parameters
| TDesC8 * aBuffer | Buffer. |
| TDesC & aMimeType | |
| const TDesC & aUri | Object URI or a full path to a file in the file system. |
NewL(const TDesC &, TThumbnailId, const TDesC &)
Parameters
| const TDesC & aUri | Object URI or a full path to a file in the file system. |
| TThumbnailId aThumbnailId = 0 | |
| const TDesC & aMimeType =
KNullDesC
| MIME type. Optional, but should be specified if known. |
NewLC(const TDesC &, const TDesC &)
Parameters
| const TDesC & aUri | Object URI or a full path to a file in the file system. |
| const TDesC & aMimeType =
KNullDesC
| MIME type. Optional, but should be specified if known. |
NewLC(const RFile64 &, const TDesC &)
Construct a new CThumbnailObjectSource referring to a file handle. The file handle must refer to an open file and it must remain valid until this object source is deleted.
Parameters
| const RFile64 & aFile | File handle. |
| const TDesC & aMimeType =
KNullDesC
| MIME type. Optional, but should be specified if known. |
NewLC(CFbsBitmap *, const TDesC &)
Parameters
| CFbsBitmap * aBitmap | |
| const TDesC & aUri | Object URI or a full path to a file in the file system. |
NewLC(TDesC8 *, TDesC &, const TDesC &)
Parameters
| TDesC8 * aBuffer | Buffer. |
| TDesC & aMimeType | MIME type. Optional, but should be specified if known. |
| const TDesC & aUri | Object URI or a full path to a file in the file system. |
NewLC(const TDesC &, TThumbnailId, const TDesC &)
Parameters
| const TDesC & aUri | Object URI or a full path to a file in the file system. |
| TThumbnailId aThumbnailId = 0 | |
| const TDesC & aMimeType =
KNullDesC
| MIME type. Optional, but should be specified if known. |
Uri()
| IMPORT_C const TDesC & | Uri | ( | ) | |
Member Data Documentation
TThumbnailId
iThumbnailId
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.