|
|
|
|
Location:
mmcaf.h
Link against: mmcommon.lib
class TMMFileHandleSource : public TMMSource;
Provides a file handle to DRM protected content source
TMMSource - Base class which provides a lightweight encapsulation of a DRM protected content source
TMMFileHandleSource - Provides a file handle to DRM protected content source
Defined in TMMFileHandleSource:
Handle(), TMMFileHandleSource(), TMMFileHandleSource(), TMMFileHandleSource(), TMMFileHandleSource()
Inherited from TMMSource:
Intent(),
IsUIEnabled(),
SourceType(),
UniqueId()
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.
|
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.
|
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.
|
IMPORT_C RFile &Handle() const;
Get the file handle of the source object within the DRM archive.
|