drmhelper.cpp File Reference

const TUid KCRUidBrowser

const TUid KCRUidBrowser

const TUint32 KBrowserDefaultAccessPoint

const TUint32 KBrowserDefaultAccessPoint

const TUint32 KBrowserAccessPointSelectionMode

const TUint32 KBrowserAccessPointSelectionMode

_LIT(KDriveZ, "z:")

_LIT ( KDriveZ ,
"z:"
)

Parameters

KDriveZ
"z:"

_LIT(KCDRMHelperResFileName, "DRMHelper.rsc")

_LIT ( KCDRMHelperResFileName ,
"DRMHelper.rsc"
)

Parameters

KCDRMHelperResFileName
"DRMHelper.rsc"

_LIT(KEncryptedRightsIssuerMatchString, "flk*")

_LIT ( KEncryptedRightsIssuerMatchString ,
"flk*"
)

Parameters

KEncryptedRightsIssuerMatchString
"flk*"

_LIT(KDRMHelperClassificationRingingTone, "Ringtone")

_LIT ( KDRMHelperClassificationRingingTone ,
"Ringtone"
)

Parameters

KDRMHelperClassificationRingingTone
"Ringtone"

_LIT(KDRMHelperClassificationVideoTone, "Videotone")

_LIT ( KDRMHelperClassificationVideoTone ,
"Videotone"
)

Parameters

KDRMHelperClassificationVideoTone
"Videotone"

const TInt KDRMHelperConstraintCount

const TInt KDRMHelperConstraintCount

const TInt KDRMHelperConstraintTime

const TInt KDRMHelperConstraintTime

const TInt KDRMHelperConstraintAccumulated

const TInt KDRMHelperConstraintAccumulated

const TInt KDRMHelperMaxDateFormatLen

const TInt KDRMHelperMaxDateFormatLen

const TInt KDRMHelperMaxDateLen

const TInt KDRMHelperMaxDateLen

const TInt KDRMHelperMaxTimeFormatLen

const TInt KDRMHelperMaxTimeFormatLen

const TInt KDRMHelperMaxTimeLen

const TInt KDRMHelperMaxTimeLen

const TInt KUrlMaxLen

const TInt KUrlMaxLen

const TInt KDRMHelperMaxETABufSize

const TInt KDRMHelperMaxETABufSize

const TInt KDRMHelperAccumulatedTimeLimit

const TInt KDRMHelperAccumulatedTimeLimit

IapIdOfDefaultSnapL(RCmManager &, const TUint32)

LOCAL_C TUint32 IapIdOfDefaultSnapL ( RCmManager & aCmManager,
const TUint32 aDefaultSnap
)

Parameters

RCmManager & aCmManager
const TUint32 aDefaultSnap

CreateNoteForResourceL(TInt)

LOCAL_C CAknResourceNoteDialog * CreateNoteForResourceL ( TInt aResId )

Parameters

TInt aResId

GlobalNoteTypeForResource(TInt)

LOCAL_C TAknGlobalNoteType GlobalNoteTypeForResource ( TInt aResId )

Parameters

TInt aResId

LeaveIfWrongReturnForHandleErrorOrPreviewL(TInt)

LOCAL_C void LeaveIfWrongReturnForHandleErrorOrPreviewL ( TInt aError )

Parameters

TInt aError

IsVideo(const CData *)

LOCAL_C TBool IsVideo ( const CData * aData )

Parameters

const CData * aData

EvaluatePreviewMediaType(CData *)

LOCAL_C TInt EvaluatePreviewMediaType ( CData * aContent )

Parameters

CData * aContent

KMinContentLength(16)

const TInt KMinContentLength ( 16 ) [static]

Parameters

16

_LIT8(KWrmHeader, "W\0R\0M\0H\0E\0A\0D\0E\0R\0")

_LIT8 ( KWrmHeader ,
"W\0R\0M\0H\0E\0A\0D\0E\0R\0"
)

Parameters

KWrmHeader
"W\0R\0M\0H\0E\0A\0D\0E\0R\0"

_LIT8(KASFHeaderObject, "75B22630668E11CFA6D900AA0062CE6C")

_LIT8 ( KASFHeaderObject ,
"75B22630668E11CFA6D900AA0062CE6C"
)

Parameters

KASFHeaderObject
"75B22630668E11CFA6D900AA0062CE6C"

FormatGUID(TDes8 &)

LOCAL_C void FormatGUID ( TDes8 & aGUID )

Parameters

TDes8 & aGUID

ConvertToInt64(TDesC8 &)

LOCAL_C TInt64 ConvertToInt64 ( TDesC8 & aDes )

Parameters

TDesC8 & aDes

IsProtectedWmDrmL(RFile &)

LOCAL_C TBool IsProtectedWmDrmL ( RFile & aFileHandle )

Parameters

RFile & aFileHandle

UpdateDCFRepositoryL(const RFile &)

LOCAL_C void UpdateDCFRepositoryL ( const RFile & aFileHandle )

Parameters

const RFile & aFileHandle