| class TMMFileHandleSource : public TMMSource | 
Provides a file handle to DRM protected content source
| Public Member Functions | |
|---|---|
| TMMFileHandleSource(RFile &) | |
| TMMFileHandleSource(RFile &, const TDesC &) | |
| TMMFileHandleSource(RFile &, const TDesC &, ContentAccess::TIntent) | |
| TMMFileHandleSource(RFile &, const TDesC &, ContentAccess::TIntent, TBool) | |
| IMPORT_C RFile & | Handle() | 
| Private Attributes | |
|---|---|
| RFile & | iFile | 
| 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.
| RFile & aFile | A reference to a file handle object. | 
| 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.
| IMPORT_C | TMMFileHandleSource | ( | RFile & | aFile, | 
| const TDesC & | aUniqueId, | |||
| ContentAccess::TIntent | aIntent | |||
| ) | ||||
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.
| RFile & aFile | A reference to a file handle object. | 
| const TDesC & aUniqueId | A reference to a descriptor containing the Unique Id. | 
| ContentAccess::TIntent aIntent | the Intent to use when opening the source object within the DRM archive. | 
| IMPORT_C | TMMFileHandleSource | ( | RFile & | aFile, | 
| const TDesC & | aUniqueId, | |||
| ContentAccess::TIntent | aIntent, | |||
| TBool | aEnableUI | |||
| ) | ||||
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.
| RFile & aFile | A reference to a file handle object. | 
| const TDesC & aUniqueId | A reference to a descriptor containing the Unique Id. | 
| ContentAccess::TIntent aIntent | the Intent to use when opening the source object within the DRM archive. | 
| TBool aEnableUI | a flag to enable the agent's UI. | 
| IMPORT_C RFile & | Handle | ( | ) | const | 
Get the file handle of the source object within the DRM archive.
A reference to the file handle.