contentmgmt/referencedrmagent/RefTestAgent/inc/reftestagentconstants.h
changeset 8 35751d3474b7
child 15 da2ae96f639b
equal deleted inserted replaced
2:675a964f4eb5 8:35751d3474b7
       
     1 /*
       
     2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 /**
       
    20  @file
       
    21  @internalAll
       
    22  @released
       
    23 */
       
    24 
       
    25 #ifndef __REFTESTAGENTCONSTANTS_H__
       
    26 #define __REFTESTAGENTCONSTANTS_H__
       
    27 
       
    28 _LIT8(KRtaMimeContent, "application/x-rta.drm.content");
       
    29 _LIT8(KRtaMimeContentRights, "application/x-rta.drm.contentrights");
       
    30 _LIT8(KRtaMimeRights, "application/x-rta.drm.rights");
       
    31 _LIT8(KRtaMimePostAcquisitionRights, "application/x-rta.drm.postacqrights");
       
    32 _LIT8(KRtaMimePostAcquisitionContent, "application/x-rta.drm.postacqcontent");
       
    33 
       
    34 _LIT(KRtaExtensionContent, ".content");
       
    35 _LIT(KRtaExtensionContentRights, ".contentrights");
       
    36 _LIT(KRtaExtensionRights, ".rights");
       
    37 _LIT(KRtaExtensionPostAcquisitionRights, ".dr");
       
    38 
       
    39 _LIT(KRtaDefaultOutputDirectory, "c:\\");
       
    40 _LIT(KRtaDefaultOutputFile, "output");
       
    41 
       
    42 // combine KRtaDefaultOutputDirectory, KRtaDefaultOutputFile and
       
    43 // KRtaExtensionContent
       
    44 _LIT(KRtaDefaultOutputPath, "c:\\output.content");
       
    45 
       
    46 _LIT8(KContentXml,"<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\r\n\
       
    47 <DRMFiles>\n\r\
       
    48 \t<content cid=\"PostAcquisitionTest\">\r\n\
       
    49 \t\t<filename>\r\n\
       
    50 \t\tmaketheparserhappy\r\n\
       
    51 \t\t</filename>\r\n\
       
    52 \t\t<name>\r\n\
       
    53 \t\tmaketheparserhappy\r\n\
       
    54 \t\t</name>\r\n\
       
    55 \t\t<uniqueid>\r\n\
       
    56 \t\tmaketheparserhappy\r\n\
       
    57 \t\t</uniqueid>\r\n\
       
    58 \t\t<stringattribute name=\"mimetype\">\r\n\
       
    59 \t\ttext/plain\r\n\
       
    60 \t\t</stringattribute>\r\n\
       
    61 \t</content>\r\n\
       
    62 </DRMFiles>\r\n\r\n\r\n");
       
    63 _LIT8(KMimeTypeRecordedContent, "text/plain");
       
    64 #endif