CFileProtectionResolver Class Reference

class CFileProtectionResolver : public CBase

CFileProtectionResolver...

???
Since
3.0

Inherits from

  • CFileProtectionResolver

Constructor & Destructor Documentation

CFileProtectionResolver(RFs &)

CFileProtectionResolver(RFs &aFs)[private]

Constructor.

Parameters

RFs & aFsIN Fileserver session.

~CFileProtectionResolver()

~CFileProtectionResolver()[virtual]

Destructor

Member Functions Documentation

CommonContentPolicy()

CCommonContentPolicy *CommonContentPolicy()const [inline]

Get Common Content Policy

ConstructL()

voidConstructL()[private]

2nd phase constructor.

NewL(RFs &)

IMPORT_C CFileProtectionResolver *NewL(RFs &aFs)[static]

Factory method.

Parameters

RFs & aFsIN Fileserver session.

NewLC(RFs &)

IMPORT_C CFileProtectionResolver *NewLC(RFs &aFs)[static]

Factory method.

Parameters

RFs & aFsIN Fileserver session.

ProtectionStatusL(RFile &, TDataType &)

IMPORT_C TIntProtectionStatusL(RFile &aFile,
TDataType &aMimeType
)

Finds out whether the file is DRM protected or is on the Closed Content List

Parameters

RFile & aFileIN File handle
TDataType & aMimeTypeIN Already recognized mime type.

ProtectionStatusL(const TDesC &, TDataType &)

IMPORT_C TIntProtectionStatusL(const TDesC &aFilePath,
TDataType &aMimeType
)

Finds out whether the file is DRM protected or is on the Closed Content List

Parameters

const TDesC & aFilePathIN File path
TDataType & aMimeTypeIN Already recognized mime type.

ProtectionStatusL(RFile &, TDataType &, HBufC8 *&)

IMPORT_C TIntProtectionStatusL(RFile &aFile,
TDataType &aMimeType,
HBufC8 *&aContentUri
)

Finds out whether the file is DRM protected or is on the Closed Content List

Parameters

RFile & aFileIN File handle
TDataType & aMimeTypeIN Already recognized mime type.
HBufC8 *& aContentUriIN/OUT possible DRM content URI, NULL if not found

ProtectionStatusL(const TDesC &, TDataType &, HBufC8 *&)

IMPORT_C TIntProtectionStatusL(const TDesC &aFilePath,
TDataType &aMimeType,
HBufC8 *&aContentUri
)

Finds out whether the file is DRM protected or is on the Closed Content List

Parameters

const TDesC & aFilePathIN File path
TDataType & aMimeTypeIN Already recognized mime type.
HBufC8 *& aContentUriIN/OUT possible DRM content URI, NULL if not found

Member Data Documentation

CCommonContentPolicy * iClosedContent

CCommonContentPolicy *iClosedContent[private]

RFs & iFs

RFs &iFs[private]