omadrm/drmengine/legacy/src/drmcommon.rss
changeset 0 95b198f216e5
child 31 908beac81e0a
equal deleted inserted replaced
-1:000000000000 0:95b198f216e5
       
     1 /*
       
     2 * Copyright (c) 2005 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 "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 //  RESOURCE IDENTIFIER
       
    20 //NAME    TYPE
       
    21 
       
    22 //  INCLUDES
       
    23 #include <badef.rh>
       
    24 #include "DRMCommon.rh"
       
    25 //RESOURCE RSS_SIGNATURE { }
       
    26 
       
    27 //RESOURCE TBUF16 { buf=""; }
       
    28 
       
    29 //  CONSTANTS  
       
    30 //#define ?constant   ?value
       
    31 
       
    32 
       
    33 //  MACROS  
       
    34 //#define ?macro
       
    35 
       
    36 
       
    37 //  RESOURCE DEFINITIONS 
       
    38 // ---------------------------------------------------------
       
    39 //   
       
    40 //    Data Type
       
    41 //    for capability checking
       
    42 //
       
    43 // ---------------------------------------------------------
       
    44 //
       
    45 
       
    46 
       
    47 RESOURCE MIMEARRAY datatype
       
    48 {
       
    49 	num = 49;
       
    50 	items=
       
    51     {
       
    52 		// Note: To optimize performance, prioritize mime-types bases on frequency of usage
       
    53 
       
    54 		LBUF { txt="image/jpg"; },
       
    55 		LBUF { txt="image/gif"; },
       
    56 		LBUF { txt="image/png"; },
       
    57 		LBUF { txt="audio/amr"; },
       
    58 		LBUF { txt="image/jpeg"; },
       
    59 		LBUF { txt="audio/midi"; },
       
    60 		LBUF { txt="audio/x-ms-wma"; },
       
    61 		LBUF { txt="audio/basic"; },
       
    62 		LBUF { txt="audio/aac"; },
       
    63 		LBUF { txt="audio/wav"; },
       
    64 		LBUF { txt="application/java"; },
       
    65 		LBUF { txt="application/java-archive"; },
       
    66 		LBUF { txt="application/vnd.nokia.ringing-tone"; },
       
    67 		LBUF { txt="video/3gpp"; },
       
    68 		LBUF { txt="video/3gpp2"; },
       
    69     LBUF { txt="video/3gp"; },
       
    70     LBUF { txt="video/mp4"; },
       
    71     LBUF { txt="video/mp4v-es"; },
       
    72 		LBUF { txt="audio/mpeg"; },
       
    73 		LBUF { txt="audio/mp4"; },
       
    74 		LBUF { txt="audio/3gpp"; },
       
    75 		LBUF { txt="audio/rmf"; },
       
    76 		LBUF { txt="application/vnd.symbian.install"; },
       
    77 		LBUF { txt="audio/x-rmf"; },
       
    78 		LBUF { txt="audio/x-midi"; },
       
    79 		LBUF { txt="audio/amr-wb"; },
       
    80 		LBUF { txt="audio/sp-midi"; },
       
    81 		LBUF { txt="audio/x-beatnik-rmf"; },
       
    82 		LBUF { txt="audio/x-wav"; },
       
    83 		LBUF { txt="application/x-java-archive"; },
       
    84     LBUF { txt="image/svg+xml"; },
       
    85 		LBUF { txt="image/svg"; },
       
    86     LBUF { txt="x-epoc/x-sisx-app"; },
       
    87     LBUF { txt="audio/3gpp2"; },                
       
    88     LBUF { txt="audio/mp3"; },
       
    89 		LBUF { txt="audio/x-mpeg"; },
       
    90 		LBUF { txt="image/vnd.wap.wbmp"; },
       
    91 		LBUF { txt="image/bmp"; },
       
    92 		LBUF { txt="audio/mid"; },
       
    93 		
       
    94 		// DRM License Manager Install Package
       
    95 		LBUF { txt="application/x-pip"; }, 
       
    96 
       
    97 		// OMA related mime-types. Do not remove!
       
    98 		LBUF { txt="application/vnd.oma.drm.message"; },
       
    99 		LBUF { txt="application/vnd.oma.drm.content"; }, 
       
   100 
       
   101 		LBUF { txt="audio/vnd.rn-realaudio"; },        	
       
   102 		LBUF { txt="application/x-pn-realmedia"; },
       
   103 		LBUF { txt="application/x-shockwave-flash"; },
       
   104 		LBUF { txt="audio/x-realaudio"; },
       
   105 		LBUF { txt="audio/x-pn-realaudio"; },
       
   106 		LBUF { txt="video/x-pn-realvideo"; },
       
   107     LBUF { txt="application/vnd.rn-realmedia"; }
       
   108     };
       
   109 }
       
   110 
       
   111             
       
   112 // End of File
       
   113