ContentAccess::CEmbeddedObject Class Reference
| class ContentAccess::CEmbeddedObject : public CBase |
Represents a content object embedded within a file The agent defined uniqueId field describes the location of the object within the file.
Inherits from
- ContentAccess::CEmbeddedObject
Constructor & Destructor Documentation
CEmbeddedObject(TEmbeddedType)
~CEmbeddedObject()
| ~CEmbeddedObject | ( | ) | [virtual] |
Member Functions Documentation
ConstructL(const TDesC &, const TDesC &, const TDesC8 &)
| void | ConstructL | ( | const TDesC & | aUniqueId, |
| | const TDesC & | aName, |
| | const TDesC8 & | aMimeType |
| | ) | [private] |
ExternalizeL(RWriteStream &)
Allow the class write itself out to a stream
InternalizeL(RReadStream &)
MimeType()
| IMPORT_C const TDesC8 & | MimeType | ( | ) | const |
Name()
| IMPORT_C const TDesC & | Name | ( | ) | const |
User friendly name of the object
NewL(const TDesC &, const TDesC &, const TDesC8 &, TEmbeddedType)
Parameters
| const TDesC & aUniqueId | The UniqueId of the embedded object |
| const TDesC & aName | A user friendly name for the object |
| const TDesC8 & aMimeType | The mime type of the object (if it not a container object) |
| TEmbeddedType aType | The type of object (Content, container, agentspecific etc) |
NewL(const TDesC &, const TDesC8 &, TEmbeddedType)
Create a new CEmbeddedObject where the Name field is the same as the uniqueId
Parameters
| const TDesC & aUniqueId | The UniqueId of the embedded object |
| const TDesC8 & aMimeType | The mime type of the object (if it not a container object) |
| TEmbeddedType aType | The type of object (Content, container, agentspecific etc) |
NewL(RReadStream &)
Parameters
| RReadStream & aStream | The stream to read the CEmbeddedObject from |
UniqueId()
| IMPORT_C const TDesC & | UniqueId | ( | ) | const |
The agent defined UniqueId
Member Data Documentation
TBuf8< KMaxDataTypeLength > iMimeType
HBufC * iUniqueId
|
HBufC * | iUniqueId | [private] |
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.