// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
// Custom Audio Controller Plugin for unit testing 
// 
//

#include <ecom/registryinfo.rh>
#include <mmfplugininterfaceuids.hrh>
#include <mmfcontrollerimplementationuids.hrh>

RESOURCE REGISTRY_INFO theInfo
	{
	dll_uid = 0x101F7D29; // custom audio controller plugin uid (Gk)
	interfaces = 
		{
		INTERFACE_INFO
			{
			interface_uid = KMmfUidPluginInterfaceController ;
			implementations = 
				{
				IMPLEMENTATION_INFO
					{
					implementation_uid = 0x101F7D2A ;
					version_no = 9; // higher than other versions
					display_name = "Audio controller";
					default_data = ".wav||.au||.raw" ; // The file extension(s) supported
					opaque_data = "";  // Signature to search for in file header
					},
				IMPLEMENTATION_INFO
					{
					implementation_uid = 0x102834B6 ;
					version_no = 10; // higher than other versions
					display_name = "Memory-fail audio controller";
					default_data = "?" ; // The file extension(s) supported
					opaque_data = "<s>Symbian<n>yes<i>0x101F5D07<p>0x102834B4";
					},
				IMPLEMENTATION_INFO
					{
					implementation_uid = 0x102834B7 ;
					version_no = 1;
					display_name = "Memory-pass audio controller";
					default_data = "?" ; // The file extension(s) supported
					opaque_data = "<s>Symbian<n>yes<i>0x101F5D07<p>0x102834B4";
					},
				IMPLEMENTATION_INFO
					{
					implementation_uid = 0x10286661 ;
					version_no = 1;
					display_name = "Panic audio controller";
					default_data = "?" ; // The file extension(s) supported
					opaque_data = "<s>Symbian<n>yes<i>0x101F5D07<p>0x10286662<r>0x10286663";
					}										
				};
			},
		INTERFACE_INFO // Play Formats Description
			{
			interface_uid = 0x102834B4 ;
			implementations = 
				{
				IMPLEMENTATION_INFO
					{
					implementation_uid = 0x102834B5 ;
					version_no = 1;
					display_name = "Mem decode format";
					default_data = "?";
					//Above field gives all the information about the controller
					// <s> = Supplier of the controller plugin
					// <i> = Id of the media supported by the controller plugin(audio or video)
					// <e> = file extension supported by this format
					// <h> = A segment of header data that can be matched against the first few bytes of a clip to check 
					//       whether this format is capable of handling the clip.
					// <m> = mime type that describes the format
					opaque_data = 
					"<s>Symbian<i>0x101f5d07<e>.tsa<h>loadingtest<m>memchk/mem";
					}
				};
			},
		INTERFACE_INFO // Play Formats Description
			{
			interface_uid = 0x10286662 ;
			implementations = 
				{
				IMPLEMENTATION_INFO
					{
					implementation_uid = 0x10286664 ;
					version_no = 1;
					display_name = "Panic decode format";
					default_data = "0x10286661";
					//Above field gives all the information about the controller
					// <s> = Supplier of the controller plugin
					// <i> = Id of the media supported by the controller plugin(audio or video)
					// <e> = file extension supported by this format
					// <h> = A segment of header data that can be matched against the first few bytes of a clip to check 
					//       whether this format is capable of handling the clip.
					// <m> = mime type that describes the format
					opaque_data = 
					"<s>Symbian<i>0x101f5d07<e>.pnc<h>PANIC????TEST";
					}
				};
			},
		INTERFACE_INFO // Record Formats Description
			{
			interface_uid = 0x10286663 ;
			implementations = 
				{
				IMPLEMENTATION_INFO
					{
					implementation_uid = 0x10286665 ;
					version_no = 1;
					display_name = "Panic Encode format";
					default_data = "0x10286661";
					//Above field gives all the information about the controller
					// <s> = Supplier of the controller plugin
					// <i> = Id of the media supported by the controller plugin(audio or video)
					// <e> = file extension supported by this format
					// <h> = A segment of header data that can be matched against the first few bytes of a clip to check 
					//       whether this format is capable of handling the clip.
					// <m> = mime type that describes the format
					opaque_data = 
					"<s>Symbian<i>0x101f5d07<e>.pnc<h>PANIC????TEST";
					}
				};
			}

		};
	}

