epoc32/include/mw/drmhelperserverinternalcrkeys.h
branchSymbian2
changeset 2 2fe1408b6811
parent 1 666f914201fb
child 4 837f303aceeb
     1.1 --- a/epoc32/include/mw/drmhelperserverinternalcrkeys.h	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/mw/drmhelperserverinternalcrkeys.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,44 @@
     1.4 -drmhelperserverinternalcrkeys.h
     1.5 +/*
     1.6 +* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
     1.7 +* All rights reserved.
     1.8 +* This component and the accompanying materials are made available
     1.9 +* under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
    1.10 +* which accompanies this distribution, and is available
    1.11 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.12 +*
    1.13 +* Initial Contributors:
    1.14 +* Nokia Corporation - initial contribution.
    1.15 +*
    1.16 +* Contributors:
    1.17 +*
    1.18 +* Description:  
    1.19 +*
    1.20 +*/
    1.21 +
    1.22 +
    1.23 +
    1.24 +#ifndef DRMHELPERSERVERINTERNALCRKEYS_H
    1.25 +#define DRMHELPERSERVERINTERNALCRKEYS_H
    1.26 +
    1.27 +//#include <DRMHelperServerSDKCRKeys.h>
    1.28 +
    1.29 +const TUid KCRUidDRMHelperServer = {0x10205CA7};
    1.30 +
    1.31 +/* Key format for both KDRMHelperServerNotification and KDRMHelperServerNotificationPassive
    1.32 +
    1.33 +To inform the expiration event of automated usage to active clients. 
    1.34 +The first Tuint8 is the times the content has been informed, the second
    1.35 + Tuint8 could either be 'E' or 'V', 'E' means expired and 'V' means 
    1.36 + valid but about to expire. The third is permission type (which is 
    1.37 + defined in caf.h, including EPlay, EExcute, EView, EPrint, EPeek). 
    1.38 + The rest of data is the content ID. So, the whole format of the 
    1.39 + values would be "<TUint8 aTimes><TUint8 aExpirationMark><TUint8
    1.40 +  aPermissionType><TDesC8 aContentID>".
    1.41 +  
    1.42 +*/ 
    1.43 +
    1.44 +const TUint32 KDRMHelperServerNotification = 0x00000001;
    1.45 +const TUint32 KDRMHelperServerNotificationPassive = 0x00000002;
    1.46 +
    1.47 +#endif      // DRMHELPERSERVERINTERNALCRKEYS_H
    1.48 +