#include <mm/mmcaf.h>
Link against: mmcommon.lib
| class TMMFileHandleSource : public TMMSource |
| 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() |
Provides a file handle to DRM protected content source
| 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.
| Parameters | |
|---|---|
| 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.
| Parameters | |
|---|---|
| aFile | A reference to a file handle object. |
| aUniqueId | A reference to a descriptor containing the Unique Id. |
| 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.
| Parameters | |
|---|---|
| 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. |
| 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.
| Parameters | |
|---|---|
| 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. |