mtpfws/mtpfw/dataproviders/devdp/src/mtpdevicedp_config.rss
changeset 0 d0791faffa3f
child 4 60a94a45d437
equal deleted inserted replaced
-1:000000000000 0:d0791faffa3f
       
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Device dp specific configuration data
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20  @publishedPartner
       
    21 */
       
    22 
       
    23 #include <mtp/mtpdataproviderconfig.rh>
       
    24 #include <mtp/mtpdevicedp_config.rh>
       
    25 
       
    26 RESOURCE MTP_DATA_PROVIDER dpConfig
       
    27     {
       
    28     type = KMTPDataProviderTypeECOM;
       
    29     major_version = 1;
       
    30     object_enumeration_persistent = 0;
       
    31     supported_modes = KMTPModeMTP;  
       
    32     server_name = "";
       
    33     server_image_name = "";
       
    34     opaque_resource = folderConfig;
       
    35     }
       
    36 
       
    37 
       
    38 RESOURCE MTP_DEVICEDP_CONFIG folderConfig
       
    39 	{
       
    40 	enumeration_iteration_length = 32;
       
    41 	folder_exclusion_list = 
       
    42 		{
       
    43 		"?:\\private",
       
    44 		"?:\\resource",
       
    45 		"?:\\sys",
       
    46 		"?:\\system",
       
    47 		"?:\\logs",
       
    48 		"z:\\"
       
    49 		};
       
    50 	}
       
    51 	
       
    52 
       
    53 /**
       
    54  * Incase if needed to provide a user friendly volume name. 
       
    55  * Update the drive number and provide the name that you wish to have. 
       
    56  * Drive number varies from 0 to 25, '0' represent 
       
    57  * A drive and '25' represent Z drive.
       
    58  *
       
    59  */
       
    60 RESOURCE DRIVEARRAY drives
       
    61 	{
       
    62 
       
    63 	elements = 
       
    64 		{
       
    65 		DRIVE
       
    66 		    {
       
    67 		    driveNo = 0;
       
    68 		    driveName = "A Drive";
       
    69 		    rootDirPath = "\\";
       
    70 		    },
       
    71 
       
    72 		DRIVE
       
    73 		    {
       
    74 		    driveNo = 1;
       
    75 		    driveName = "B Drive";
       
    76 		    rootDirPath = "\\";
       
    77 		    },
       
    78 		    
       
    79 		DRIVE
       
    80 		    {
       
    81 		    driveNo = 2;
       
    82 		    driveName = "Phone Memory";
       
    83 		    rootDirPath = "\\Data\\";
       
    84 		    },
       
    85 		    
       
    86 		DRIVE
       
    87 		    {
       
    88 		    driveNo = 3;
       
    89 		    driveName = "D Drive";
       
    90 		    rootDirPath = "\\";
       
    91 		    },		
       
    92 
       
    93 		DRIVE
       
    94 		    {
       
    95 		    driveNo = 4;
       
    96 		    driveName = "Mass Memory";
       
    97 		    rootDirPath = "\\";
       
    98 		    },		    
       
    99 
       
   100 		DRIVE
       
   101 		    {
       
   102 		    driveNo = 5;
       
   103 		    driveName = "Memory Card";
       
   104 		    rootDirPath = "\\";
       
   105 		    },
       
   106 
       
   107 		DRIVE
       
   108 		    {
       
   109 		    driveNo = 6;
       
   110 		    driveName = "G Drive";
       
   111 		    rootDirPath = "\\";
       
   112 		    },
       
   113 
       
   114 		DRIVE
       
   115 		    {
       
   116 		    driveNo = 7;
       
   117 		    driveName = "H Drive";
       
   118 		    rootDirPath = "\\";
       
   119 		    },
       
   120 
       
   121 		DRIVE
       
   122 		   {
       
   123 		    driveNo = 8;
       
   124 		    driveName = "I Drive";
       
   125 		    rootDirPath = "\\";
       
   126 		    },
       
   127 
       
   128 		DRIVE
       
   129 		   {
       
   130 		    driveNo = 9;
       
   131 		    driveName = "J Drive";
       
   132 		    rootDirPath = "\\ ";		    
       
   133 		    },
       
   134 		    
       
   135 		DRIVE
       
   136 		   {
       
   137 		    driveNo = 10;
       
   138 		    driveName = "K Drive";
       
   139 		    rootDirPath = "\\";		    
       
   140 		    },
       
   141 
       
   142 		DRIVE
       
   143 		    {
       
   144 		    driveNo = 11;
       
   145 		    driveName = "L Drive";
       
   146 		    rootDirPath = "\\";
       
   147 		    },
       
   148 
       
   149 		DRIVE
       
   150 		    {
       
   151 		    driveNo = 12;
       
   152 		    driveName = "M Drive";
       
   153 		    rootDirPath = "\\";
       
   154 		    },
       
   155 
       
   156 		DRIVE
       
   157 		    {
       
   158 		    driveNo = 13;
       
   159 		    driveName = "N Drive";
       
   160 		    rootDirPath = "\\";
       
   161 		    },
       
   162 
       
   163 		DRIVE
       
   164 		    {
       
   165 		    driveNo = 14;
       
   166 		    driveName = "O Drive";
       
   167 		    rootDirPath = "\\";
       
   168 		    },
       
   169 
       
   170 		DRIVE
       
   171 		    {
       
   172 		    driveNo = 15;
       
   173 		    driveName = "P Drive";
       
   174 		    rootDirPath = "\\";
       
   175 		    },
       
   176 
       
   177 		DRIVE
       
   178 		    {
       
   179 		    driveNo = 16;
       
   180 		    driveName = "Q Drive";
       
   181 		    rootDirPath = "\\";
       
   182 		    },
       
   183 
       
   184 		DRIVE
       
   185 		    {
       
   186 		    driveNo = 17;
       
   187 		    driveName = "R Drive";
       
   188 		    rootDirPath = "\\";
       
   189 		    },
       
   190 
       
   191 		DRIVE
       
   192 		    {
       
   193 		    driveNo = 18;
       
   194 		    driveName = "S Drive";
       
   195 		    rootDirPath = "\\";
       
   196 		    },
       
   197 
       
   198 		DRIVE
       
   199 		    {
       
   200 		    driveNo = 19;
       
   201 		    driveName = "T Drive";
       
   202 		    rootDirPath = "\\";
       
   203 		    },
       
   204 
       
   205 		DRIVE
       
   206 		    {
       
   207 		    driveNo = 20;
       
   208 		    driveName = "U Drive";
       
   209 		    rootDirPath = "\\";
       
   210 		    },
       
   211 
       
   212 		DRIVE
       
   213 		    {
       
   214 		    driveNo = 21;
       
   215 		    driveName = "V Drive";
       
   216 		    rootDirPath = "\\";
       
   217 		    },
       
   218 
       
   219 		DRIVE
       
   220 		    {
       
   221 		    driveNo = 22;
       
   222 		    driveName = "W Drive";
       
   223 		    rootDirPath = "\\";
       
   224 		    },
       
   225 
       
   226 		DRIVE
       
   227 		   {
       
   228 		    driveNo = 23;
       
   229 		    driveName = "X Drive";
       
   230 		    rootDirPath = "\\";		    
       
   231 		    },
       
   232 
       
   233 		DRIVE
       
   234 		    {
       
   235 		    driveNo = 24;
       
   236 		    driveName = "Y Drive";
       
   237 		    rootDirPath = "\\";
       
   238 		    },
       
   239 		    
       
   240 		DRIVE
       
   241 		   {
       
   242 		    driveNo = 25;
       
   243 		    driveName = "Z Drive";
       
   244 		    rootDirPath = "\\";		    
       
   245 		    } 
       
   246 
       
   247 		};
       
   248 		
       
   249 	}
       
   250 
       
   251 /**
       
   252  *This resource used to create supported format ordered.
       
   253  */ 
       
   254 RESOURCE FORMATSARRAY formats
       
   255 	{
       
   256 	//put the required format code in "" to enable format ordered property
       
   257 	objFormats = 
       
   258         {
       
   259         "3000", // Undefined
       
   260         "3001", // Association
       
   261         "B982", // MP4
       
   262         "B984", // 3GP
       
   263         "B903", // AAC
       
   264         "3009", // MP3
       
   265         "B901", // WMA
       
   266         "3008", // WAV
       
   267         "B981", // WMV
       
   268         "300C", // ASF
       
   269         "BA05", // PLA
       
   270         "BA11", // M3U
       
   271         "BA10" // WPL
       
   272         };
       
   273 	}
       
   274 
       
   275 /**
       
   276  * This resource used to load the extension dps for Dev DP.
       
   277  */ 
       
   278 RESOURCE PLUGINUIDARRAY extnpluginuids
       
   279 	{
       
   280 	//Put the extension plugin implementation UID in "" to load particular exn plugin
       
   281 	// if more than one plugin is needed then seperate then by ',' eg:- "20010ADB" ,"20010ADC"
       
   282 	uid_list = {"20022E92"}; //20022E92, WMPDRM dll id
       
   283 	}
       
   284