os/mm/mmlibs/mmfw/tsrc/mmfunittest/Actrl/TestPlugins/AudioController/101F7D29.rss
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/mm/mmlibs/mmfw/tsrc/mmfunittest/Actrl/TestPlugins/AudioController/101F7D29.rss	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,138 @@
     1.4 +// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 +// All rights reserved.
     1.6 +// This component and the accompanying materials are made available
     1.7 +// under the terms of "Eclipse Public License v1.0"
     1.8 +// which accompanies this distribution, and is available
     1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.10 +//
    1.11 +// Initial Contributors:
    1.12 +// Nokia Corporation - initial contribution.
    1.13 +//
    1.14 +// Contributors:
    1.15 +//
    1.16 +// Description:
    1.17 +// Custom Audio Controller Plugin for unit testing 
    1.18 +// 
    1.19 +//
    1.20 +
    1.21 +#include <ecom/registryinfo.rh>
    1.22 +#include <mmfplugininterfaceuids.hrh>
    1.23 +#include <mmfcontrollerimplementationuids.hrh>
    1.24 +
    1.25 +RESOURCE REGISTRY_INFO theInfo
    1.26 +	{
    1.27 +	dll_uid = 0x101F7D29; // custom audio controller plugin uid (Gk)
    1.28 +	interfaces = 
    1.29 +		{
    1.30 +		INTERFACE_INFO
    1.31 +			{
    1.32 +			interface_uid = KMmfUidPluginInterfaceController ;
    1.33 +			implementations = 
    1.34 +				{
    1.35 +				IMPLEMENTATION_INFO
    1.36 +					{
    1.37 +					implementation_uid = 0x101F7D2A ;
    1.38 +					version_no = 9; // higher than other versions
    1.39 +					display_name = "Audio controller";
    1.40 +					default_data = ".wav||.au||.raw" ; // The file extension(s) supported
    1.41 +					opaque_data = "";  // Signature to search for in file header
    1.42 +					},
    1.43 +				IMPLEMENTATION_INFO
    1.44 +					{
    1.45 +					implementation_uid = 0x102834B6 ;
    1.46 +					version_no = 10; // higher than other versions
    1.47 +					display_name = "Memory-fail audio controller";
    1.48 +					default_data = "?" ; // The file extension(s) supported
    1.49 +					opaque_data = "<s>Symbian<n>yes<i>0x101F5D07<p>0x102834B4";
    1.50 +					},
    1.51 +				IMPLEMENTATION_INFO
    1.52 +					{
    1.53 +					implementation_uid = 0x102834B7 ;
    1.54 +					version_no = 1;
    1.55 +					display_name = "Memory-pass audio controller";
    1.56 +					default_data = "?" ; // The file extension(s) supported
    1.57 +					opaque_data = "<s>Symbian<n>yes<i>0x101F5D07<p>0x102834B4";
    1.58 +					},
    1.59 +				IMPLEMENTATION_INFO
    1.60 +					{
    1.61 +					implementation_uid = 0x10286661 ;
    1.62 +					version_no = 1;
    1.63 +					display_name = "Panic audio controller";
    1.64 +					default_data = "?" ; // The file extension(s) supported
    1.65 +					opaque_data = "<s>Symbian<n>yes<i>0x101F5D07<p>0x10286662<r>0x10286663";
    1.66 +					}										
    1.67 +				};
    1.68 +			},
    1.69 +		INTERFACE_INFO // Play Formats Description
    1.70 +			{
    1.71 +			interface_uid = 0x102834B4 ;
    1.72 +			implementations = 
    1.73 +				{
    1.74 +				IMPLEMENTATION_INFO
    1.75 +					{
    1.76 +					implementation_uid = 0x102834B5 ;
    1.77 +					version_no = 1;
    1.78 +					display_name = "Mem decode format";
    1.79 +					default_data = "?";
    1.80 +					//Above field gives all the information about the controller
    1.81 +					// <s> = Supplier of the controller plugin
    1.82 +					// <i> = Id of the media supported by the controller plugin(audio or video)
    1.83 +					// <e> = file extension supported by this format
    1.84 +					// <h> = A segment of header data that can be matched against the first few bytes of a clip to check 
    1.85 +					//       whether this format is capable of handling the clip.
    1.86 +					// <m> = mime type that describes the format
    1.87 +					opaque_data = 
    1.88 +					"<s>Symbian<i>0x101f5d07<e>.tsa<h>loadingtest<m>memchk/mem";
    1.89 +					}
    1.90 +				};
    1.91 +			},
    1.92 +		INTERFACE_INFO // Play Formats Description
    1.93 +			{
    1.94 +			interface_uid = 0x10286662 ;
    1.95 +			implementations = 
    1.96 +				{
    1.97 +				IMPLEMENTATION_INFO
    1.98 +					{
    1.99 +					implementation_uid = 0x10286664 ;
   1.100 +					version_no = 1;
   1.101 +					display_name = "Panic decode format";
   1.102 +					default_data = "0x10286661";
   1.103 +					//Above field gives all the information about the controller
   1.104 +					// <s> = Supplier of the controller plugin
   1.105 +					// <i> = Id of the media supported by the controller plugin(audio or video)
   1.106 +					// <e> = file extension supported by this format
   1.107 +					// <h> = A segment of header data that can be matched against the first few bytes of a clip to check 
   1.108 +					//       whether this format is capable of handling the clip.
   1.109 +					// <m> = mime type that describes the format
   1.110 +					opaque_data = 
   1.111 +					"<s>Symbian<i>0x101f5d07<e>.pnc<h>PANIC????TEST";
   1.112 +					}
   1.113 +				};
   1.114 +			},
   1.115 +		INTERFACE_INFO // Record Formats Description
   1.116 +			{
   1.117 +			interface_uid = 0x10286663 ;
   1.118 +			implementations = 
   1.119 +				{
   1.120 +				IMPLEMENTATION_INFO
   1.121 +					{
   1.122 +					implementation_uid = 0x10286665 ;
   1.123 +					version_no = 1;
   1.124 +					display_name = "Panic Encode format";
   1.125 +					default_data = "0x10286661";
   1.126 +					//Above field gives all the information about the controller
   1.127 +					// <s> = Supplier of the controller plugin
   1.128 +					// <i> = Id of the media supported by the controller plugin(audio or video)
   1.129 +					// <e> = file extension supported by this format
   1.130 +					// <h> = A segment of header data that can be matched against the first few bytes of a clip to check 
   1.131 +					//       whether this format is capable of handling the clip.
   1.132 +					// <m> = mime type that describes the format
   1.133 +					opaque_data = 
   1.134 +					"<s>Symbian<i>0x101f5d07<e>.pnc<h>PANIC????TEST";
   1.135 +					}
   1.136 +				};
   1.137 +			}
   1.138 +
   1.139 +		};
   1.140 +	}
   1.141 +