sl@0
|
1 |
// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
|
sl@0
|
2 |
// All rights reserved.
|
sl@0
|
3 |
// This component and the accompanying materials are made available
|
sl@0
|
4 |
// under the terms of "Eclipse Public License v1.0"
|
sl@0
|
5 |
// which accompanies this distribution, and is available
|
sl@0
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
sl@0
|
7 |
//
|
sl@0
|
8 |
// Initial Contributors:
|
sl@0
|
9 |
// Nokia Corporation - initial contribution.
|
sl@0
|
10 |
//
|
sl@0
|
11 |
// Contributors:
|
sl@0
|
12 |
//
|
sl@0
|
13 |
// Description:
|
sl@0
|
14 |
// Custom Audio Controller Plugin for unit testing
|
sl@0
|
15 |
//
|
sl@0
|
16 |
//
|
sl@0
|
17 |
|
sl@0
|
18 |
#include <ecom/registryinfo.rh>
|
sl@0
|
19 |
#include <mmfplugininterfaceuids.hrh>
|
sl@0
|
20 |
#include <mmfcontrollerimplementationuids.hrh>
|
sl@0
|
21 |
|
sl@0
|
22 |
RESOURCE REGISTRY_INFO theInfo
|
sl@0
|
23 |
{
|
sl@0
|
24 |
dll_uid = 0x101F7D29; // custom audio controller plugin uid (Gk)
|
sl@0
|
25 |
interfaces =
|
sl@0
|
26 |
{
|
sl@0
|
27 |
INTERFACE_INFO
|
sl@0
|
28 |
{
|
sl@0
|
29 |
interface_uid = KMmfUidPluginInterfaceController ;
|
sl@0
|
30 |
implementations =
|
sl@0
|
31 |
{
|
sl@0
|
32 |
IMPLEMENTATION_INFO
|
sl@0
|
33 |
{
|
sl@0
|
34 |
implementation_uid = 0x101F7D2A ;
|
sl@0
|
35 |
version_no = 9; // higher than other versions
|
sl@0
|
36 |
display_name = "Audio controller";
|
sl@0
|
37 |
default_data = ".wav||.au||.raw" ; // The file extension(s) supported
|
sl@0
|
38 |
opaque_data = ""; // Signature to search for in file header
|
sl@0
|
39 |
},
|
sl@0
|
40 |
IMPLEMENTATION_INFO
|
sl@0
|
41 |
{
|
sl@0
|
42 |
implementation_uid = 0x102834B6 ;
|
sl@0
|
43 |
version_no = 10; // higher than other versions
|
sl@0
|
44 |
display_name = "Memory-fail audio controller";
|
sl@0
|
45 |
default_data = "?" ; // The file extension(s) supported
|
sl@0
|
46 |
opaque_data = "<s>Symbian<n>yes<i>0x101F5D07<p>0x102834B4";
|
sl@0
|
47 |
},
|
sl@0
|
48 |
IMPLEMENTATION_INFO
|
sl@0
|
49 |
{
|
sl@0
|
50 |
implementation_uid = 0x102834B7 ;
|
sl@0
|
51 |
version_no = 1;
|
sl@0
|
52 |
display_name = "Memory-pass audio controller";
|
sl@0
|
53 |
default_data = "?" ; // The file extension(s) supported
|
sl@0
|
54 |
opaque_data = "<s>Symbian<n>yes<i>0x101F5D07<p>0x102834B4";
|
sl@0
|
55 |
},
|
sl@0
|
56 |
IMPLEMENTATION_INFO
|
sl@0
|
57 |
{
|
sl@0
|
58 |
implementation_uid = 0x10286661 ;
|
sl@0
|
59 |
version_no = 1;
|
sl@0
|
60 |
display_name = "Panic audio controller";
|
sl@0
|
61 |
default_data = "?" ; // The file extension(s) supported
|
sl@0
|
62 |
opaque_data = "<s>Symbian<n>yes<i>0x101F5D07<p>0x10286662<r>0x10286663";
|
sl@0
|
63 |
}
|
sl@0
|
64 |
};
|
sl@0
|
65 |
},
|
sl@0
|
66 |
INTERFACE_INFO // Play Formats Description
|
sl@0
|
67 |
{
|
sl@0
|
68 |
interface_uid = 0x102834B4 ;
|
sl@0
|
69 |
implementations =
|
sl@0
|
70 |
{
|
sl@0
|
71 |
IMPLEMENTATION_INFO
|
sl@0
|
72 |
{
|
sl@0
|
73 |
implementation_uid = 0x102834B5 ;
|
sl@0
|
74 |
version_no = 1;
|
sl@0
|
75 |
display_name = "Mem decode format";
|
sl@0
|
76 |
default_data = "?";
|
sl@0
|
77 |
//Above field gives all the information about the controller
|
sl@0
|
78 |
// <s> = Supplier of the controller plugin
|
sl@0
|
79 |
// <i> = Id of the media supported by the controller plugin(audio or video)
|
sl@0
|
80 |
// <e> = file extension supported by this format
|
sl@0
|
81 |
// <h> = A segment of header data that can be matched against the first few bytes of a clip to check
|
sl@0
|
82 |
// whether this format is capable of handling the clip.
|
sl@0
|
83 |
// <m> = mime type that describes the format
|
sl@0
|
84 |
opaque_data =
|
sl@0
|
85 |
"<s>Symbian<i>0x101f5d07<e>.tsa<h>loadingtest<m>memchk/mem";
|
sl@0
|
86 |
}
|
sl@0
|
87 |
};
|
sl@0
|
88 |
},
|
sl@0
|
89 |
INTERFACE_INFO // Play Formats Description
|
sl@0
|
90 |
{
|
sl@0
|
91 |
interface_uid = 0x10286662 ;
|
sl@0
|
92 |
implementations =
|
sl@0
|
93 |
{
|
sl@0
|
94 |
IMPLEMENTATION_INFO
|
sl@0
|
95 |
{
|
sl@0
|
96 |
implementation_uid = 0x10286664 ;
|
sl@0
|
97 |
version_no = 1;
|
sl@0
|
98 |
display_name = "Panic decode format";
|
sl@0
|
99 |
default_data = "0x10286661";
|
sl@0
|
100 |
//Above field gives all the information about the controller
|
sl@0
|
101 |
// <s> = Supplier of the controller plugin
|
sl@0
|
102 |
// <i> = Id of the media supported by the controller plugin(audio or video)
|
sl@0
|
103 |
// <e> = file extension supported by this format
|
sl@0
|
104 |
// <h> = A segment of header data that can be matched against the first few bytes of a clip to check
|
sl@0
|
105 |
// whether this format is capable of handling the clip.
|
sl@0
|
106 |
// <m> = mime type that describes the format
|
sl@0
|
107 |
opaque_data =
|
sl@0
|
108 |
"<s>Symbian<i>0x101f5d07<e>.pnc<h>PANIC????TEST";
|
sl@0
|
109 |
}
|
sl@0
|
110 |
};
|
sl@0
|
111 |
},
|
sl@0
|
112 |
INTERFACE_INFO // Record Formats Description
|
sl@0
|
113 |
{
|
sl@0
|
114 |
interface_uid = 0x10286663 ;
|
sl@0
|
115 |
implementations =
|
sl@0
|
116 |
{
|
sl@0
|
117 |
IMPLEMENTATION_INFO
|
sl@0
|
118 |
{
|
sl@0
|
119 |
implementation_uid = 0x10286665 ;
|
sl@0
|
120 |
version_no = 1;
|
sl@0
|
121 |
display_name = "Panic Encode format";
|
sl@0
|
122 |
default_data = "0x10286661";
|
sl@0
|
123 |
//Above field gives all the information about the controller
|
sl@0
|
124 |
// <s> = Supplier of the controller plugin
|
sl@0
|
125 |
// <i> = Id of the media supported by the controller plugin(audio or video)
|
sl@0
|
126 |
// <e> = file extension supported by this format
|
sl@0
|
127 |
// <h> = A segment of header data that can be matched against the first few bytes of a clip to check
|
sl@0
|
128 |
// whether this format is capable of handling the clip.
|
sl@0
|
129 |
// <m> = mime type that describes the format
|
sl@0
|
130 |
opaque_data =
|
sl@0
|
131 |
"<s>Symbian<i>0x101f5d07<e>.pnc<h>PANIC????TEST";
|
sl@0
|
132 |
}
|
sl@0
|
133 |
};
|
sl@0
|
134 |
}
|
sl@0
|
135 |
|
sl@0
|
136 |
};
|
sl@0
|
137 |
}
|
sl@0
|
138 |
|