API published in: S60 2nd Ed FP 2
Link against: drmlicensechecker.lib
Required Capabilities
None
#include <drmlicensechecker.h>
Public Types |
|
enum | { ENoRights = -100000, ERightsExpired = -100001 } |
Public Member Functions |
|
virtual IMPORT_C | ~CDRMLicenseChecker () |
Destructor. |
|
IMPORT_C TInt | CheckLicense (const TDesC &aDataFile, HBufC8 *&aDataBuffer) |
This function performs a license check by decrypting a data file and returning the decrypted contents of the data file. |
|
Static Public Member Functions |
|
static IMPORT_C CDRMLicenseChecker * | NewL () |
Two-phased constructor. |
|
|
Destructor. |
|
This function performs a license check by decrypting a data file and returning the decrypted contents of the data file. A license check can only succeed if a rights object associated with the calling application exists and sufficient rights are present. If the license check fails, an error is returned.
|
|
Two-phased constructor. |