os/mm/mmlibs/mmfw/tsrc/mmfunittest/Actrl/TestPlugins/AudioController/101F7D29.rss
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 // Copyright (c) 2002-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 // Custom Audio Controller Plugin for unit testing 
    15 // 
    16 //
    17 
    18 #include <ecom/registryinfo.rh>
    19 #include <mmfplugininterfaceuids.hrh>
    20 #include <mmfcontrollerimplementationuids.hrh>
    21 
    22 RESOURCE REGISTRY_INFO theInfo
    23 	{
    24 	dll_uid = 0x101F7D29; // custom audio controller plugin uid (Gk)
    25 	interfaces = 
    26 		{
    27 		INTERFACE_INFO
    28 			{
    29 			interface_uid = KMmfUidPluginInterfaceController ;
    30 			implementations = 
    31 				{
    32 				IMPLEMENTATION_INFO
    33 					{
    34 					implementation_uid = 0x101F7D2A ;
    35 					version_no = 9; // higher than other versions
    36 					display_name = "Audio controller";
    37 					default_data = ".wav||.au||.raw" ; // The file extension(s) supported
    38 					opaque_data = "";  // Signature to search for in file header
    39 					},
    40 				IMPLEMENTATION_INFO
    41 					{
    42 					implementation_uid = 0x102834B6 ;
    43 					version_no = 10; // higher than other versions
    44 					display_name = "Memory-fail audio controller";
    45 					default_data = "?" ; // The file extension(s) supported
    46 					opaque_data = "<s>Symbian<n>yes<i>0x101F5D07<p>0x102834B4";
    47 					},
    48 				IMPLEMENTATION_INFO
    49 					{
    50 					implementation_uid = 0x102834B7 ;
    51 					version_no = 1;
    52 					display_name = "Memory-pass audio controller";
    53 					default_data = "?" ; // The file extension(s) supported
    54 					opaque_data = "<s>Symbian<n>yes<i>0x101F5D07<p>0x102834B4";
    55 					},
    56 				IMPLEMENTATION_INFO
    57 					{
    58 					implementation_uid = 0x10286661 ;
    59 					version_no = 1;
    60 					display_name = "Panic audio controller";
    61 					default_data = "?" ; // The file extension(s) supported
    62 					opaque_data = "<s>Symbian<n>yes<i>0x101F5D07<p>0x10286662<r>0x10286663";
    63 					}										
    64 				};
    65 			},
    66 		INTERFACE_INFO // Play Formats Description
    67 			{
    68 			interface_uid = 0x102834B4 ;
    69 			implementations = 
    70 				{
    71 				IMPLEMENTATION_INFO
    72 					{
    73 					implementation_uid = 0x102834B5 ;
    74 					version_no = 1;
    75 					display_name = "Mem decode format";
    76 					default_data = "?";
    77 					//Above field gives all the information about the controller
    78 					// <s> = Supplier of the controller plugin
    79 					// <i> = Id of the media supported by the controller plugin(audio or video)
    80 					// <e> = file extension supported by this format
    81 					// <h> = A segment of header data that can be matched against the first few bytes of a clip to check 
    82 					//       whether this format is capable of handling the clip.
    83 					// <m> = mime type that describes the format
    84 					opaque_data = 
    85 					"<s>Symbian<i>0x101f5d07<e>.tsa<h>loadingtest<m>memchk/mem";
    86 					}
    87 				};
    88 			},
    89 		INTERFACE_INFO // Play Formats Description
    90 			{
    91 			interface_uid = 0x10286662 ;
    92 			implementations = 
    93 				{
    94 				IMPLEMENTATION_INFO
    95 					{
    96 					implementation_uid = 0x10286664 ;
    97 					version_no = 1;
    98 					display_name = "Panic decode format";
    99 					default_data = "0x10286661";
   100 					//Above field gives all the information about the controller
   101 					// <s> = Supplier of the controller plugin
   102 					// <i> = Id of the media supported by the controller plugin(audio or video)
   103 					// <e> = file extension supported by this format
   104 					// <h> = A segment of header data that can be matched against the first few bytes of a clip to check 
   105 					//       whether this format is capable of handling the clip.
   106 					// <m> = mime type that describes the format
   107 					opaque_data = 
   108 					"<s>Symbian<i>0x101f5d07<e>.pnc<h>PANIC????TEST";
   109 					}
   110 				};
   111 			},
   112 		INTERFACE_INFO // Record Formats Description
   113 			{
   114 			interface_uid = 0x10286663 ;
   115 			implementations = 
   116 				{
   117 				IMPLEMENTATION_INFO
   118 					{
   119 					implementation_uid = 0x10286665 ;
   120 					version_no = 1;
   121 					display_name = "Panic Encode format";
   122 					default_data = "0x10286661";
   123 					//Above field gives all the information about the controller
   124 					// <s> = Supplier of the controller plugin
   125 					// <i> = Id of the media supported by the controller plugin(audio or video)
   126 					// <e> = file extension supported by this format
   127 					// <h> = A segment of header data that can be matched against the first few bytes of a clip to check 
   128 					//       whether this format is capable of handling the clip.
   129 					// <m> = mime type that describes the format
   130 					opaque_data = 
   131 					"<s>Symbian<i>0x101f5d07<e>.pnc<h>PANIC????TEST";
   132 					}
   133 				};
   134 			}
   135 
   136 		};
   137 	}
   138