1 accmonitorcapabilities.h |
1 /* |
|
2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Accessory capability definitions for AccMonitor |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef ACCMONITORCAPABILTIES_H |
|
21 #define ACCMONITORCAPABILTIES_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32base.h> |
|
25 |
|
26 // EXTERNAL DATA TYPES |
|
27 /** |
|
28 * Type definition TAccMonCapability defines an unsigned integer as an |
|
29 * accessory capability. Accessory capabilities for Accessory Monitoring API |
|
30 * are listed below. |
|
31 */ |
|
32 typedef TUint32 TAccMonCapability; |
|
33 |
|
34 /** |
|
35 * Device Types |
|
36 * |
|
37 * Device Type is a general definition for a type of an accessory. |
|
38 */ |
|
39 |
|
40 /** |
|
41 * Device type capability: KAccMonNoDevice |
|
42 * |
|
43 * Description: Constant definition for no device. |
|
44 */ |
|
45 const TAccMonCapability KAccMonNoDevice = 0; |
|
46 |
|
47 /** |
|
48 * Device type capability: KAccMonHeadset |
|
49 * |
|
50 * Description: Constant definition for device type headset. |
|
51 */ |
|
52 const TAccMonCapability KAccMonHeadset = 1; |
|
53 |
|
54 /** |
|
55 * Device type capability: KAccMonCarKit |
|
56 * |
|
57 * Description: Constant definition for device type car kit. |
|
58 */ |
|
59 const TAccMonCapability KAccMonCarKit = 2; |
|
60 |
|
61 /** |
|
62 * Device type capability: KAccMonOffice |
|
63 * |
|
64 * Description: Constant definition for device type office, e.g. Music Stand. |
|
65 */ |
|
66 const TAccMonCapability KAccMonOffice = 3; |
|
67 |
|
68 /** |
|
69 * Device type capability: KAccMonLoopset |
|
70 * |
|
71 * Description: Constant definition for device type Loopset. |
|
72 */ |
|
73 const TAccMonCapability KAccMonLoopset = 6; |
|
74 |
|
75 /** |
|
76 * Device type capability: KAccMonTTY |
|
77 * |
|
78 * Description: Constant definition for device type TTY. |
|
79 */ |
|
80 const TAccMonCapability KAccMonTTY = 9; |
|
81 |
|
82 /** |
|
83 * Device type capability: KAccMonAVDevice |
|
84 * |
|
85 * Description: Constant definition for device type audio/video device. For |
|
86 * example a video cable is an A/V device. |
|
87 */ |
|
88 const TAccMonCapability KAccMonAVDevice = 10; |
|
89 |
|
90 /** |
|
91 * Physical Connections |
|
92 * |
|
93 * Physical connections are used to describe how the accessory is attached to |
|
94 * S60 device. |
|
95 */ |
|
96 |
|
97 /** |
|
98 * Physical connection capability: KAccMonWired |
|
99 * |
|
100 * Description: Constant definition for physical connection Wired connector. |
|
101 * If capability is defined accessory has a wired a connector as a physical |
|
102 * connection. |
|
103 */ |
|
104 const TAccMonCapability KAccMonWired = 17; |
|
105 |
|
106 /** |
|
107 * Physical connection capability: KAccMonBluetooth |
|
108 * |
|
109 * Description: Constant definition for physical connection Bluetooth |
|
110 * connector. If capability is defined accessory has bluetooth for its |
|
111 * physical connection. |
|
112 */ |
|
113 const TAccMonCapability KAccMonBluetooth = 18; |
|
114 |
|
115 /** |
|
116 * Physical connection capability: KAccMonUSB |
|
117 * |
|
118 * Description: Constant definition for physical connection USB |
|
119 * connector. If capability is defined accessory has USB for its |
|
120 * physical connection. |
|
121 */ |
|
122 const TAccMonCapability KAccMonUSB = 19; |
|
123 |
|
124 /** |
|
125 * Audio Capabilities |
|
126 * |
|
127 * Description: Audio capabilities describe the audio features some accessory |
|
128 * has. |
|
129 */ |
|
130 |
|
131 /** |
|
132 * Audio capability: KAccMonStereoAudio |
|
133 * |
|
134 * Description: Constant definition for stereo audio. If capability is defined |
|
135 * this accessory supports stereo audio output. |
|
136 */ |
|
137 const TAccMonCapability KAccMonStereoAudio = 81; |
|
138 |
|
139 /** |
|
140 * Audio capability: KAccMonMonoAudio |
|
141 * |
|
142 * Description: Constant definition for mono audio. If capability is defined |
|
143 * this accessory supports mono audio output. |
|
144 */ |
|
145 const TAccMonCapability KAccMonMonoAudio = 82; |
|
146 |
|
147 /** |
|
148 * Audio capability: KAccMonSpeakerAudioOutput |
|
149 * |
|
150 * Description: Constant for accessory speaker feature. If capability is |
|
151 * defined the accessory has a speaker integrated to this accessory. |
|
152 */ |
|
153 const TAccMonCapability KAccMonSpeakerAudioOutput = 83; |
|
154 |
|
155 /** |
|
156 * Audio capability: KAccMonMicAudioInput |
|
157 * |
|
158 * Description: Constant for accessory mic feature. If capability is defined |
|
159 * the accessory has a mic integrated to this accessory. |
|
160 */ |
|
161 const TAccMonCapability KAccMonMicAudioInput = 84; |
|
162 |
|
163 /** |
|
164 * Audio capability: KAccMonAudioOut |
|
165 * |
|
166 * Description: Constant definition for audio out. Audio out capability is |
|
167 * defined if the accessory is capable for outputting audio to some other |
|
168 * device. Values are defined with enumerations. If value is defined to 0, |
|
169 * audio out is defined as standard lineout. |
|
170 */ |
|
171 const TAccMonCapability KAccMonAudioOut = 86; |
|
172 |
|
173 /** |
|
174 * Enumerator for capability TAccMonAudioOut. |
|
175 * @see TAccMonAudioOut |
|
176 */ |
|
177 enum TAccMonAudioOut |
|
178 { |
|
179 EAccMonAudioOutLineout = 0 |
|
180 }; |
|
181 |
|
182 /** |
|
183 * Bluetooth features |
|
184 * |
|
185 * Bluetooth features describe the bluetooth features some accessory has. |
|
186 */ |
|
187 |
|
188 /** |
|
189 * Bluetooth capability: KAccMonBTHSP |
|
190 * Description: Constant definition for Bluetooth profile HS (Headset |
|
191 * profile). Accessory supports HS profile. |
|
192 */ |
|
193 const TAccMonCapability KAccMonBTHSP = 97; |
|
194 |
|
195 /** |
|
196 * Bluetooth capability: KAccMonBTHFP |
|
197 * |
|
198 * Description: Constant definition for Bluetooth profile HF (Hands Free |
|
199 * profile). Accessory supports HF profile. |
|
200 */ |
|
201 const TAccMonCapability KAccMonBTHFP = 98; |
|
202 |
|
203 /** |
|
204 * Bluetooth capability: KAccMonBTAVRCP |
|
205 * |
|
206 * Description: Constant definition for Bluetooth profile AVRC (Audio/Video |
|
207 * Remote Control profile). Accessory supports AVRC profile. |
|
208 */ |
|
209 const TAccMonCapability KAccMonBTAVRCP = 99; |
|
210 |
|
211 /** |
|
212 * Bluetooth capability: KAccMonBTA2DP |
|
213 * |
|
214 * Description: Constant definition for Bluetooth profile A2D (Advanced Audio |
|
215 * Distribution profile). Accessory supports A2D profile. |
|
216 */ |
|
217 const TAccMonCapability KAccMonBTA2DP = 100; |
|
218 |
|
219 /** |
|
220 * Video Features |
|
221 * Video Features describe the video features some accessory has. |
|
222 */ |
|
223 |
|
224 /** |
|
225 * Video capability: KAccMonVideoOut |
|
226 * |
|
227 * Description: Constant for video capability video out. If capability is |
|
228 * defined the accessory has a video out possibility. Values are defined with |
|
229 * enumerations. If value is defined to 0 video format is C-Video. |
|
230 */ |
|
231 const TAccMonCapability KAccMonVideoOut = 113; |
|
232 |
|
233 /** |
|
234 * Enumerator for capability TAccMonVideoOut. |
|
235 * @see TAccMonVideoOut |
|
236 */ |
|
237 enum TAccMonVideoOut |
|
238 { |
|
239 EAccMonVideoOutCVideo = 0//C-Video (composite) |
|
240 }; |
|
241 |
|
242 |
|
243 #endif // ACCMONITORCAPABILTIES_H |
|
244 |
|
245 // End of File |