TMMFileHandleSource Class Reference
class TMMFileHandleSource : public TMMSource |
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.
Parameters
RFile & 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.
Parameters
RFile & aFile | A reference to a file handle object. |
const TDesC & 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.
Parameters
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. |
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.
Parameters
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. |
Member Functions Documentation
Handle()
IMPORT_C RFile & | Handle | ( | ) | const |
Get the file handle of the source object within the DRM archive.
Member Data Documentation
RFile & iFile
The file handle to use when opening content.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.