CFileProtectionResolver Class Reference

class CFileProtectionResolver : public CBase

CFileProtectionResolver ...

???
Since
3.0

Inherits from

Constructor & Destructor Documentation

CFileProtectionResolver(RFs &)

CFileProtectionResolver ( RFs & aFs ) [private]

Constructor.

Parameters

RFs & aFs IN Fileserver session.

~CFileProtectionResolver()

~CFileProtectionResolver ( ) [virtual]

Destructor

Member Functions Documentation

CommonContentPolicy()

CCommonContentPolicy * CommonContentPolicy ( ) const [inline]

Get Common Content Policy

ConstructL()

void ConstructL ( ) [private]

2nd phase constructor.

NewL(RFs &)

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

Factory method.

Parameters

RFs & aFs IN Fileserver session.

NewLC(RFs &)

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

Factory method.

Parameters

RFs & aFs IN Fileserver session.

ProtectionStatusL(RFile &, TDataType &)

IMPORT_C TInt ProtectionStatusL ( RFile & aFile,
TDataType & aMimeType
)

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

Parameters

RFile & aFile IN File handle
TDataType & aMimeType IN Already recognized mime type.

ProtectionStatusL(const TDesC &, TDataType &)

IMPORT_C TInt ProtectionStatusL ( const TDesC & aFilePath,
TDataType & aMimeType
)

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

Parameters

const TDesC & aFilePath IN File path
TDataType & aMimeType IN Already recognized mime type.

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

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

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

Parameters

RFile & aFile IN File handle
TDataType & aMimeType IN Already recognized mime type.
HBufC8 *& aContentUri IN/OUT possible DRM content URI, NULL if not found

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

IMPORT_C TInt ProtectionStatusL ( 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 & aFilePath IN File path
TDataType & aMimeType IN Already recognized mime type.
HBufC8 *& aContentUri IN/OUT possible DRM content URI, NULL if not found

Member Data Documentation

CCommonContentPolicy * iClosedContent

CCommonContentPolicy * iClosedContent [private]

RFs & iFs

RFs & iFs [private]