#include <caf/embeddedobject.h>
class ContentAccess::CEmbeddedObject : public CBase |
Public Member Functions | |
---|---|
virtual | ~CEmbeddedObject() |
IMPORT_C void | ExternalizeL(RWriteStream &) |
IMPORT_C const TDesC8 & | MimeType() |
IMPORT_C const TDesC & | Name() |
IMPORT_C CEmbeddedObject * | NewL(const TDesC &, const TDesC &, const TDesC8 &, TEmbeddedType) |
IMPORT_C CEmbeddedObject * | NewL(const TDesC &, const TDesC8 &, TEmbeddedType) |
IMPORT_C CEmbeddedObject * | NewL(RReadStream &) |
IMPORT_C TEmbeddedType | Type() |
IMPORT_C const TDesC & | UniqueId() |
Represents a content object embedded within a file The agent defined uniqueId field describes the location of the object within the file.
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | const |
Allow the class write itself out to a stream
Parameter | Description |
---|---|
aStream | The stream to write to |
IMPORT_C const TDesC8 & | MimeType | ( | ) | const |
Mime type of the object
Returns: The mime type of the object or KNullDesC8() if this is a container object
IMPORT_C CEmbeddedObject * | NewL | ( | const TDesC & | aUniqueId, |
const TDesC & | aName, | |||
const TDesC8 & | aMimeType, | |||
TEmbeddedType | aType | |||
) | [static] |
Create a new CEmbeddedObject with a different name and uniqueId
Parameter | Description |
---|---|
aUniqueId | The UniqueId of the embedded object |
aName | A user friendly name for the object |
aMimeType | The mime type of the object (if it not a container object) |
aType | The type of object (Content, container, agentspecific etc) |
Returns: a CEmbeddedObject
IMPORT_C CEmbeddedObject * | NewL | ( | const TDesC & | aUniqueId, |
const TDesC8 & | aMimeType, | |||
TEmbeddedType | aType | |||
) | [static] |
Create a new CEmbeddedObject where the Name field is the same as the uniqueId
Parameter | Description |
---|---|
aUniqueId | The UniqueId of the embedded object |
aMimeType | The mime type of the object (if it not a container object) |
aType | The type of object (Content, container, agentspecific etc) |
Returns: a CEmbeddedObject
IMPORT_C CEmbeddedObject * | NewL | ( | RReadStream & | aStream | ) | [static] |
Create a new CEmbeddedObject from a stream
Parameter | Description |
---|---|
aStream | The stream to read the CEmbeddedObject from |
Returns: a CEmbeddedObject