epoc32/include/accmonitorcapabilities.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     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 "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.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 * Physical connection capability: KAccMonHDMI
   126 *
   127 * Description: Constant definition for physical connection HDMI
   128 * connector. If capability is defined accessory has HDMI for its
   129 * physical connection.
   130 */
   131 const TAccMonCapability KAccMonHDMI = 20;
   132 
   133 /**
   134 * Audio Capabilities
   135 *
   136 * Description: Audio capabilities describe the audio features some accessory
   137 * has.
   138 */
   139 
   140 /**
   141 * Audio capability: KAccMonStereoAudio
   142 *
   143 * Description: Constant definition for stereo audio. If capability is defined
   144 * this accessory supports stereo audio output.
   145 */
   146 const TAccMonCapability KAccMonStereoAudio = 81;
   147 
   148 /**
   149 * Audio capability: KAccMonMonoAudio
   150 *
   151 * Description: Constant definition for mono audio. If capability is defined
   152 * this accessory supports mono audio output.
   153 */
   154 const TAccMonCapability KAccMonMonoAudio = 82;
   155 
   156 /**
   157 * Audio capability: KAccMonSpeakerAudioOutput
   158 *
   159 * Description: Constant for accessory speaker feature. If capability is
   160 * defined the accessory has a speaker integrated to this accessory.
   161 */
   162 const TAccMonCapability KAccMonSpeakerAudioOutput = 83;
   163 
   164 /**
   165 * Audio capability: KAccMonMicAudioInput
   166 *
   167 * Description: Constant for accessory mic feature. If capability is defined
   168 * the accessory has a mic integrated to this accessory.
   169 */
   170 const TAccMonCapability KAccMonMicAudioInput = 84;
   171 
   172 /**
   173 * Audio capability: KAccMonAudioOut
   174 *
   175 * Description: Constant definition for audio out. Audio out capability is
   176 * defined if the accessory is capable for outputting audio to some other
   177 * device. Values are defined with enumerations. If value is defined to 0,
   178 * audio out is defined as standard lineout.
   179 */
   180 const TAccMonCapability KAccMonAudioOut = 86;
   181 
   182 /**
   183 * Enumerator for capability TAccMonAudioOut.
   184 * @see TAccMonAudioOut
   185 */
   186 enum TAccMonAudioOut
   187     {
   188     EAccMonAudioOutLineout = 0
   189     };
   190 
   191 /**
   192 * Bluetooth features
   193 *
   194 * Bluetooth features describe the bluetooth features some accessory has.
   195 */
   196 
   197 /**
   198 * Bluetooth capability: KAccMonBTHSP
   199 * Description: Constant definition for Bluetooth profile HS (Headset
   200 * profile). Accessory supports HS profile.
   201 */
   202 const TAccMonCapability KAccMonBTHSP = 97;
   203 
   204 /**
   205 * Bluetooth capability: KAccMonBTHFP
   206 *
   207 * Description: Constant definition for Bluetooth profile HF (Hands Free
   208 * profile). Accessory supports HF profile.
   209 */
   210 const TAccMonCapability KAccMonBTHFP = 98;
   211 
   212 /**
   213 * Bluetooth capability: KAccMonBTAVRCP
   214 *
   215 * Description: Constant definition for Bluetooth profile AVRC (Audio/Video
   216 * Remote Control profile). Accessory supports AVRC profile.
   217 */
   218 const TAccMonCapability KAccMonBTAVRCP = 99;
   219 
   220 /**
   221 * Bluetooth capability: KAccMonBTA2DP
   222 *
   223 * Description: Constant definition for Bluetooth profile A2D (Advanced Audio
   224 * Distribution profile). Accessory supports A2D profile.
   225 */
   226 const TAccMonCapability KAccMonBTA2DP = 100;
   227 
   228 /**
   229 * Video Features
   230 * Video Features describe the video features some accessory has.
   231 */
   232 
   233 /**
   234 * Video capability: KAccMonVideoOut
   235 *
   236 * Description: Constant for video capability video out. If capability is
   237 * defined the accessory has a video out possibility. Values are defined with
   238 * enumerations. If value is defined to 0 video format is C-Video.
   239 */
   240 const TAccMonCapability KAccMonVideoOut = 113;
   241 
   242 /**
   243 * Enumerator for capability TAccMonVideoOut.
   244 * @see TAccMonVideoOut
   245 */
   246 enum TAccMonVideoOut
   247     {
   248     EAccMonVideoOutCVideo = 0//C-Video (composite)
   249     };
   250 
   251 
   252 #endif // ACCMONITORCAPABILTIES_H
   253 
   254 // End of File