TMMFileHandleSource Class Reference
Link against: mmcommon.lib
| class TMMFileHandleSource : public TMMSource |
Detailed Description
Provides a file handle to DRM protected content source
Constructor & Destructor Documentation
TMMFileHandleSource ( RFile & )
| IMPORT_C | TMMFileHandleSource | ( | RFile & | aFile | ) | |
Constructs a new TMMFileHandleSource object using a file handle. The Unique Id defaults to an empty descriptor. The Intent defaults to ContentAccess::EUnknown.
| Parameter | Description | | aFile | A reference to a file handle object. |
TMMFileHandleSource ( RFile &, const TDesC & )
| IMPORT_C | TMMFileHandleSource | ( | RFile & | aFile, |
| | const TDesC & | aUniqueId |
| | ) | |
Constructs a new TMMFileHandleSource object using a file handle and the Unique Id of the source object within the DRM archive. The Intent defaults to ContentAccess::EUnknown.
| Parameter | Description | | aFile | A reference to a file handle object. |
| aUniqueId | A reference to a descriptor containing the Unique Id. |
TMMFileHandleSource ( RFile &, const TDesC &, ContentAccess::TIntent )
Constructs a new TMMFileHandleSource object using a file handle and the Unique Id of the source object within the DRM archive. The Intent defaults to ContentAccess::EUnknown.
| Parameter | Description | | aFile | A reference to a file handle object. |
| aUniqueId | A reference to a descriptor containing the Unique Id. |
| aIntent | the Intent to use when opening the source object within the DRM archive. |
TMMFileHandleSource ( RFile &, const TDesC &, ContentAccess::TIntent, TBool )
Constructs a new TMMFileHandleSource object using a file handle and the Unique Id of the source object within the DRM archive. The Intent defaults to ContentAccess::EUnknown.
| Parameter | Description | | aFile | A reference to a file handle object. |
| aUniqueId | A reference to a descriptor containing the Unique Id. |
| aIntent | the Intent to use when opening the source object within the DRM archive. |
| aEnableUI | a flag to enable the agent's UI. |
Member Function Documentation
Handle ( )
| IMPORT_C RFile & | Handle | ( | ) | const |
Get the file handle of the source object within the DRM archive.
Returns: A reference to the file handle.