1.1 --- a/epoc32/include/accmonitorcapabilities.h Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/accmonitorcapabilities.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,245 @@
1.4 -accmonitorcapabilities.h
1.5 +/*
1.6 +* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
1.7 +* All rights reserved.
1.8 +* This component and the accompanying materials are made available
1.9 +* 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
1.10 +* which accompanies this distribution, and is available
1.11 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.12 +*
1.13 +* Initial Contributors:
1.14 +* Nokia Corporation - initial contribution.
1.15 +*
1.16 +* Contributors:
1.17 +*
1.18 +* Description: Accessory capability definitions for AccMonitor
1.19 +*
1.20 +*/
1.21 +
1.22 +
1.23 +
1.24 +#ifndef ACCMONITORCAPABILTIES_H
1.25 +#define ACCMONITORCAPABILTIES_H
1.26 +
1.27 +// INCLUDES
1.28 +#include <e32base.h>
1.29 +
1.30 +// EXTERNAL DATA TYPES
1.31 +/**
1.32 +* Type definition TAccMonCapability defines an unsigned integer as an
1.33 +* accessory capability. Accessory capabilities for Accessory Monitoring API
1.34 +* are listed below.
1.35 +*/
1.36 +typedef TUint32 TAccMonCapability;
1.37 +
1.38 +/**
1.39 +* Device Types
1.40 +*
1.41 +* Device Type is a general definition for a type of an accessory.
1.42 +*/
1.43 +
1.44 +/**
1.45 +* Device type capability: KAccMonNoDevice
1.46 +*
1.47 +* Description: Constant definition for no device.
1.48 +*/
1.49 +const TAccMonCapability KAccMonNoDevice = 0;
1.50 +
1.51 +/**
1.52 +* Device type capability: KAccMonHeadset
1.53 +*
1.54 +* Description: Constant definition for device type headset.
1.55 +*/
1.56 +const TAccMonCapability KAccMonHeadset = 1;
1.57 +
1.58 +/**
1.59 +* Device type capability: KAccMonCarKit
1.60 +*
1.61 +* Description: Constant definition for device type car kit.
1.62 +*/
1.63 +const TAccMonCapability KAccMonCarKit = 2;
1.64 +
1.65 +/**
1.66 +* Device type capability: KAccMonOffice
1.67 +*
1.68 +* Description: Constant definition for device type office, e.g. Music Stand.
1.69 +*/
1.70 +const TAccMonCapability KAccMonOffice = 3;
1.71 +
1.72 +/**
1.73 +* Device type capability: KAccMonLoopset
1.74 +*
1.75 +* Description: Constant definition for device type Loopset.
1.76 +*/
1.77 +const TAccMonCapability KAccMonLoopset = 6;
1.78 +
1.79 +/**
1.80 +* Device type capability: KAccMonTTY
1.81 +*
1.82 +* Description: Constant definition for device type TTY.
1.83 +*/
1.84 +const TAccMonCapability KAccMonTTY = 9;
1.85 +
1.86 +/**
1.87 +* Device type capability: KAccMonAVDevice
1.88 +*
1.89 +* Description: Constant definition for device type audio/video device. For
1.90 +* example a video cable is an A/V device.
1.91 +*/
1.92 +const TAccMonCapability KAccMonAVDevice = 10;
1.93 +
1.94 +/**
1.95 +* Physical Connections
1.96 +*
1.97 +* Physical connections are used to describe how the accessory is attached to
1.98 +* S60 device.
1.99 +*/
1.100 +
1.101 +/**
1.102 +* Physical connection capability: KAccMonWired
1.103 +*
1.104 +* Description: Constant definition for physical connection Wired connector.
1.105 +* If capability is defined accessory has a wired a connector as a physical
1.106 +* connection.
1.107 +*/
1.108 +const TAccMonCapability KAccMonWired = 17;
1.109 +
1.110 +/**
1.111 +* Physical connection capability: KAccMonBluetooth
1.112 +*
1.113 +* Description: Constant definition for physical connection Bluetooth
1.114 +* connector. If capability is defined accessory has bluetooth for its
1.115 +* physical connection.
1.116 +*/
1.117 +const TAccMonCapability KAccMonBluetooth = 18;
1.118 +
1.119 +/**
1.120 +* Physical connection capability: KAccMonUSB
1.121 +*
1.122 +* Description: Constant definition for physical connection USB
1.123 +* connector. If capability is defined accessory has USB for its
1.124 +* physical connection.
1.125 +*/
1.126 +const TAccMonCapability KAccMonUSB = 19;
1.127 +
1.128 +/**
1.129 +* Audio Capabilities
1.130 +*
1.131 +* Description: Audio capabilities describe the audio features some accessory
1.132 +* has.
1.133 +*/
1.134 +
1.135 +/**
1.136 +* Audio capability: KAccMonStereoAudio
1.137 +*
1.138 +* Description: Constant definition for stereo audio. If capability is defined
1.139 +* this accessory supports stereo audio output.
1.140 +*/
1.141 +const TAccMonCapability KAccMonStereoAudio = 81;
1.142 +
1.143 +/**
1.144 +* Audio capability: KAccMonMonoAudio
1.145 +*
1.146 +* Description: Constant definition for mono audio. If capability is defined
1.147 +* this accessory supports mono audio output.
1.148 +*/
1.149 +const TAccMonCapability KAccMonMonoAudio = 82;
1.150 +
1.151 +/**
1.152 +* Audio capability: KAccMonSpeakerAudioOutput
1.153 +*
1.154 +* Description: Constant for accessory speaker feature. If capability is
1.155 +* defined the accessory has a speaker integrated to this accessory.
1.156 +*/
1.157 +const TAccMonCapability KAccMonSpeakerAudioOutput = 83;
1.158 +
1.159 +/**
1.160 +* Audio capability: KAccMonMicAudioInput
1.161 +*
1.162 +* Description: Constant for accessory mic feature. If capability is defined
1.163 +* the accessory has a mic integrated to this accessory.
1.164 +*/
1.165 +const TAccMonCapability KAccMonMicAudioInput = 84;
1.166 +
1.167 +/**
1.168 +* Audio capability: KAccMonAudioOut
1.169 +*
1.170 +* Description: Constant definition for audio out. Audio out capability is
1.171 +* defined if the accessory is capable for outputting audio to some other
1.172 +* device. Values are defined with enumerations. If value is defined to 0,
1.173 +* audio out is defined as standard lineout.
1.174 +*/
1.175 +const TAccMonCapability KAccMonAudioOut = 86;
1.176 +
1.177 +/**
1.178 +* Enumerator for capability TAccMonAudioOut.
1.179 +* @see TAccMonAudioOut
1.180 +*/
1.181 +enum TAccMonAudioOut
1.182 + {
1.183 + EAccMonAudioOutLineout = 0
1.184 + };
1.185 +
1.186 +/**
1.187 +* Bluetooth features
1.188 +*
1.189 +* Bluetooth features describe the bluetooth features some accessory has.
1.190 +*/
1.191 +
1.192 +/**
1.193 +* Bluetooth capability: KAccMonBTHSP
1.194 +* Description: Constant definition for Bluetooth profile HS (Headset
1.195 +* profile). Accessory supports HS profile.
1.196 +*/
1.197 +const TAccMonCapability KAccMonBTHSP = 97;
1.198 +
1.199 +/**
1.200 +* Bluetooth capability: KAccMonBTHFP
1.201 +*
1.202 +* Description: Constant definition for Bluetooth profile HF (Hands Free
1.203 +* profile). Accessory supports HF profile.
1.204 +*/
1.205 +const TAccMonCapability KAccMonBTHFP = 98;
1.206 +
1.207 +/**
1.208 +* Bluetooth capability: KAccMonBTAVRCP
1.209 +*
1.210 +* Description: Constant definition for Bluetooth profile AVRC (Audio/Video
1.211 +* Remote Control profile). Accessory supports AVRC profile.
1.212 +*/
1.213 +const TAccMonCapability KAccMonBTAVRCP = 99;
1.214 +
1.215 +/**
1.216 +* Bluetooth capability: KAccMonBTA2DP
1.217 +*
1.218 +* Description: Constant definition for Bluetooth profile A2D (Advanced Audio
1.219 +* Distribution profile). Accessory supports A2D profile.
1.220 +*/
1.221 +const TAccMonCapability KAccMonBTA2DP = 100;
1.222 +
1.223 +/**
1.224 +* Video Features
1.225 +* Video Features describe the video features some accessory has.
1.226 +*/
1.227 +
1.228 +/**
1.229 +* Video capability: KAccMonVideoOut
1.230 +*
1.231 +* Description: Constant for video capability video out. If capability is
1.232 +* defined the accessory has a video out possibility. Values are defined with
1.233 +* enumerations. If value is defined to 0 video format is C-Video.
1.234 +*/
1.235 +const TAccMonCapability KAccMonVideoOut = 113;
1.236 +
1.237 +/**
1.238 +* Enumerator for capability TAccMonVideoOut.
1.239 +* @see TAccMonVideoOut
1.240 +*/
1.241 +enum TAccMonVideoOut
1.242 + {
1.243 + EAccMonVideoOutCVideo = 0//C-Video (composite)
1.244 + };
1.245 +
1.246 +
1.247 +#endif // ACCMONITORCAPABILTIES_H
1.248 +
1.249 +// End of File