epoc32/include/hal_data.h
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
child 4 837f303aceeb
permissions -rw-r--r--
Final list of Symbian^2 public API header files
williamr@2
     1
// Copyright (c) 1995-2009 Nokia Corporation and/or its subsidiary(-ies).
williamr@2
     2
// All rights reserved.
williamr@2
     3
// This component and the accompanying materials are made available
williamr@2
     4
// 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
williamr@2
     5
// which accompanies this distribution, and is available
williamr@2
     6
// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
williamr@2
     7
//
williamr@2
     8
// Initial Contributors:
williamr@2
     9
// Nokia Corporation - initial contribution.
williamr@2
    10
//
williamr@2
    11
// Contributors:
williamr@2
    12
//
williamr@2
    13
// Description:
williamr@2
    14
// hal\inc\hal_data.h
williamr@2
    15
// 
williamr@2
    16
//
williamr@2
    17
williamr@2
    18
#ifndef __HAL_DATA_H__
williamr@2
    19
#define __HAL_DATA_H__
williamr@2
    20
williamr@2
    21
#define bitmask enum
williamr@2
    22
williamr@2
    23
williamr@2
    24
williamr@2
    25
williamr@2
    26
class HALData
williamr@2
    27
/**
williamr@2
    28
@publishedPartner
williamr@2
    29
@released
williamr@2
    30
williamr@2
    31
Sets of attributes and values used by HAL functions.
williamr@2
    32
*/
williamr@2
    33
	{
williamr@2
    34
public:
williamr@2
    35
    /**
williamr@2
    36
    A set of enumerators that identifies hardware attributes.
williamr@2
    37
    The enumerators are passed to HAL::Get() and HAL::Set().
williamr@2
    38
    
williamr@2
    39
    They are also used by the HAL accessor functions.
williamr@2
    40
    
williamr@2
    41
    @see HAL::Get()
williamr@2
    42
    @see HAL::Set()
williamr@2
    43
    */
williamr@2
    44
	enum TAttribute
williamr@2
    45
		{
williamr@2
    46
		/**
williamr@2
    47
		Identifies the manufacturer of a device.
williamr@2
    48
        If this is not enumerated in TManufacturer, then the manufacturer must
williamr@2
    49
        obtain a value from the Symbian registry.
williamr@2
    50
        
williamr@2
    51
        @see HALData::TManufacturer
williamr@2
    52
		*/
williamr@2
    53
		EManufacturer,
williamr@2
    54
		
williamr@2
    55
		
williamr@2
    56
		/**
williamr@2
    57
		The device specific hardware version number, as defined by
williamr@2
    58
		the device manufacturer.
williamr@2
    59
		*/
williamr@2
    60
		EManufacturerHardwareRev,
williamr@2
    61
		
williamr@2
    62
		
williamr@2
    63
		/**
williamr@2
    64
		The device specific version number, as defined by
williamr@2
    65
		the device manufacturer.
williamr@2
    66
		*/
williamr@2
    67
		EManufacturerSoftwareRev,
williamr@2
    68
		
williamr@2
    69
		
williamr@2
    70
		/**
williamr@2
    71
		The device specific software version number, as defined by
williamr@2
    72
		the device manufacturer.
williamr@2
    73
		*/
williamr@2
    74
		EManufacturerSoftwareBuild,
williamr@2
    75
williamr@2
    76
		
williamr@2
    77
		/**
williamr@2
    78
		This is device specific model number, as defined by
williamr@2
    79
		the device manufacturer.
williamr@2
    80
		*/
williamr@2
    81
		EModel,
williamr@2
    82
		
williamr@2
    83
				
williamr@2
    84
		/**
williamr@2
    85
		This is the device specific UID, It is unique to the class /model
williamr@2
    86
		of device. A value must be obtained from Symbian's UID registry for
williamr@2
    87
		this attribute.
williamr@2
    88
		*/
williamr@2
    89
		EMachineUid,
williamr@2
    90
		
williamr@2
    91
		
williamr@2
    92
		/**
williamr@2
    93
		The Symbian OS specified device family identifier.
williamr@2
    94
		If the device family is not one of those enumerated by TDeviceFamily,
williamr@2
    95
		then the licensee must obtain a UID from Symbian for this attribute.
williamr@2
    96
		
williamr@2
    97
		@see HALData::TDeviceFamily
williamr@2
    98
		*/
williamr@2
    99
		EDeviceFamily,
williamr@2
   100
williamr@2
   101
		
williamr@2
   102
		/**
williamr@2
   103
		The Symbian OS specified device family version
williamr@2
   104
		*/
williamr@2
   105
		EDeviceFamilyRev,
williamr@2
   106
williamr@2
   107
		
williamr@2
   108
		/**
williamr@2
   109
		The CPU architecture used by this device. The values are enumerated
williamr@2
   110
		by TCPU.
williamr@2
   111
		
williamr@2
   112
		@see HALData::TCPU
williamr@2
   113
		*/
williamr@2
   114
		ECPU,
williamr@2
   115
		
williamr@2
   116
		
williamr@2
   117
		/**
williamr@2
   118
		A revision number for the CPU architecture.
williamr@2
   119
		*/
williamr@2
   120
		ECPUArch,
williamr@2
   121
williamr@2
   122
		
williamr@2
   123
		/**
williamr@2
   124
		This is the default ABI used by CPU for user applications.
williamr@2
   125
		The values are enumerated by HALData::TCPUABI.
williamr@2
   126
		*/
williamr@2
   127
		ECPUABI,
williamr@2
   128
williamr@2
   129
		
williamr@2
   130
		/**
williamr@2
   131
		The processor speed in KHz.
williamr@2
   132
		*/
williamr@2
   133
		ECPUSpeed,
williamr@2
   134
williamr@2
   135
		
williamr@2
   136
		/**
williamr@2
   137
		The reason for most recent system boot.
williamr@2
   138
        This is dynamic and readonly; the values are enumerated by
williamr@2
   139
        TSystemStartupReason.
williamr@2
   140
williamr@2
   141
		@see HALData::TSystemStartupReason
williamr@2
   142
		*/
williamr@2
   143
		ESystemStartupReason,
williamr@2
   144
williamr@2
   145
		
williamr@2
   146
		/**
williamr@2
   147
		This is the last exception code, in the case of system reboot.
williamr@2
   148
		This is dynamic and readonly.
williamr@2
   149
		*/
williamr@2
   150
		ESystemException,
williamr@2
   151
		
williamr@2
   152
		
williamr@2
   153
		/**
williamr@2
   154
		The time between system ticks, in microseconds.
williamr@2
   155
		*/
williamr@2
   156
		ESystemTickPeriod,
williamr@2
   157
		
williamr@2
   158
		
williamr@2
   159
		/** 
williamr@2
   160
		The total system RAM, in bytes.
williamr@2
   161
		*/
williamr@2
   162
		EMemoryRAM,
williamr@2
   163
		
williamr@2
   164
		
williamr@2
   165
		/**
williamr@2
   166
		The currently free system RAM.
williamr@2
   167
		
williamr@2
   168
		This is dynamic and readonly.
williamr@2
   169
		*/
williamr@2
   170
		EMemoryRAMFree,
williamr@2
   171
williamr@2
   172
		
williamr@2
   173
		/**
williamr@2
   174
		The total System ROM, in bytes.
williamr@2
   175
		*/
williamr@2
   176
		EMemoryROM,
williamr@2
   177
	
williamr@2
   178
		
williamr@2
   179
		/**
williamr@2
   180
		The MMU page size in bytes.
williamr@2
   181
		*/
williamr@2
   182
		EMemoryPageSize,
williamr@2
   183
	
williamr@2
   184
		
williamr@2
   185
		/**
williamr@2
   186
		Indicates the state of the power supply.
williamr@2
   187
        
williamr@2
   188
        It has the values:
williamr@2
   189
        1 = Power is good (i.e. external power is available,
williamr@2
   190
        or the 'power' battery is >= low);
williamr@2
   191
        0 = otherwise.
williamr@2
   192
        
williamr@2
   193
        This is dynamic and readonly.
williamr@2
   194
		*/
williamr@2
   195
		EPowerGood,
williamr@2
   196
	
williamr@2
   197
		
williamr@2
   198
		/**
williamr@2
   199
        The System (or 'Main') battery power level.
williamr@2
   200
        The allowable values are enumerated by TPowerBatteryStatus
williamr@2
   201
williamr@2
   202
		This is dynamic and readonly,
williamr@2
   203
		
williamr@2
   204
		@see HALData::TPowerBatteryStatus
williamr@2
   205
		*/
williamr@2
   206
		EPowerBatteryStatus,
williamr@2
   207
	
williamr@2
   208
		
williamr@2
   209
		/**
williamr@2
   210
		Indicates whether a backup power supply is available.
williamr@2
   211
        It has the values:
williamr@2
   212
        0 = the device does not support (or need) a backup battery source;
williamr@2
   213
        1 = a backup batter source is present.
williamr@2
   214
		This is dynamic and readonly
williamr@2
   215
		*/
williamr@2
   216
		EPowerBackup,
williamr@2
   217
	
williamr@2
   218
		
williamr@2
   219
		/**
williamr@2
   220
        The power level for backup power
williamr@2
   221
        
williamr@2
   222
        It has the values enumerated by TPowerBackupStatus.
williamr@2
   223
williamr@2
   224
		This is dynamic and readonly.
williamr@2
   225
		
williamr@2
   226
		@see HALData::TPowerBackupStatus
williamr@2
   227
		*/
williamr@2
   228
		EPowerBackupStatus,
williamr@2
   229
	
williamr@2
   230
		
williamr@2
   231
		/**
williamr@2
   232
		Indicates the state of the external power.
williamr@2
   233
williamr@2
   234
		It has the values:
williamr@2
   235
		0 = external power is not in use;
williamr@2
   236
		1 = external power is in use.
williamr@2
   237
		        
williamr@2
   238
        This is dynamic and readonly.
williamr@2
   239
		*/
williamr@2
   240
		EPowerExternal,
williamr@2
   241
	
williamr@2
   242
		
williamr@2
   243
		/**
williamr@2
   244
		A bitmask that describes the available keyboard types (it may support
williamr@2
   245
		more than one).
williamr@2
   246
williamr@2
   247
        @see HALData::TKeyboard
williamr@2
   248
		*/
williamr@2
   249
		EKeyboard,
williamr@2
   250
	
williamr@2
   251
		
williamr@2
   252
		/**
williamr@2
   253
		*/
williamr@2
   254
		EKeyboardDeviceKeys,
williamr@2
   255
	
williamr@2
   256
		
williamr@2
   257
		/**
williamr@2
   258
		*/
williamr@2
   259
		EKeyboardAppKeys,
williamr@2
   260
	
williamr@2
   261
		
williamr@2
   262
		/**
williamr@2
   263
		Indicates whether the device can produce a click sound for
williamr@2
   264
		each keypress.
williamr@2
   265
		
williamr@2
   266
		It has the values:
williamr@2
   267
		0 = the device cannot produce a click sound for each keypress;
williamr@2
   268
		1 = the device can produce a click sound.
williamr@2
   269
		*/
williamr@2
   270
		EKeyboardClick,
williamr@2
   271
	
williamr@2
   272
		
williamr@2
   273
		/**
williamr@2
   274
		The state of keyboard clicking.
williamr@2
   275
williamr@2
   276
        It has the values:
williamr@2
   277
        0 = key click disabled;
williamr@2
   278
        1 = key click enabled.
williamr@2
   279
        
williamr@2
   280
		This is dynamic and writeable.
williamr@2
   281
williamr@2
   282
		@capability WriteDeviceData needed to Set this attribute
williamr@2
   283
		*/
williamr@2
   284
		EKeyboardClickState,
williamr@2
   285
	
williamr@2
   286
		
williamr@2
   287
		/**
williamr@2
   288
		The keyboard click volume level.
williamr@2
   289
williamr@2
   290
		It can take a value in the range 0 to EkeyboardClickVolumeMax.
williamr@2
   291
        
williamr@2
   292
        This is dynamic and writeable.
williamr@2
   293
        
williamr@2
   294
        @see HALData::EkeyboardClickVolumeMax
williamr@2
   295
williamr@2
   296
		@capability WriteDeviceData needed to Set this attribute
williamr@2
   297
		*/
williamr@2
   298
		EKeyboardClickVolume,
williamr@2
   299
	
williamr@2
   300
		
williamr@2
   301
		/**
williamr@2
   302
		The maximum value for EKeyboardClickVolume.
williamr@2
   303
		
williamr@2
   304
		@see HALData::EkeyboardClickVolume
williamr@2
   305
		*/
williamr@2
   306
		EKeyboardClickVolumeMax,
williamr@2
   307
	
williamr@2
   308
		
williamr@2
   309
		/**
williamr@2
   310
		The screen horizontal dimension in pixels.
williamr@2
   311
		*/
williamr@2
   312
		EDisplayXPixels,
williamr@2
   313
	
williamr@2
   314
		
williamr@2
   315
		/**
williamr@2
   316
		The screen vertical dimension in pixels.
williamr@2
   317
		*/
williamr@2
   318
		EDisplayYPixels,
williamr@2
   319
	
williamr@2
   320
		
williamr@2
   321
		/**
williamr@2
   322
		The screen horizontal dimension in twips.
williamr@2
   323
		*/
williamr@2
   324
		EDisplayXTwips,
williamr@2
   325
	
williamr@2
   326
		
williamr@2
   327
		/**
williamr@2
   328
		The screen vertical dimension in twips.
williamr@2
   329
		*/
williamr@2
   330
		EDisplayYTwips,
williamr@2
   331
	
williamr@2
   332
		
williamr@2
   333
		/**
williamr@2
   334
		The number of hues (colors or shades of grey) displayable on
williamr@2
   335
		the screen.
williamr@2
   336
		*/
williamr@2
   337
		EDisplayColors,
williamr@2
   338
	
williamr@2
   339
		
williamr@2
   340
		/**
williamr@2
   341
		The state of the display.
williamr@2
   342
		
williamr@2
   343
		It has the values:
williamr@2
   344
		0 = screen is turned off;
williamr@2
   345
		1 = screen is on.
williamr@2
   346
		
williamr@2
   347
		This is dynamic and writeable.
williamr@2
   348
williamr@2
   349
		@capability PowerMgmt needed to Set this attribute
williamr@2
   350
		*/
williamr@2
   351
		EDisplayState,
williamr@2
   352
	
williamr@2
   353
		
williamr@2
   354
		/**
williamr@2
   355
		The screen contrast level.
williamr@2
   356
   		It can take a value in the range 0 to EDisplayContrastMax.
williamr@2
   357
        
williamr@2
   358
        This is dynamic and writeable
williamr@2
   359
williamr@2
   360
		@see HALData::EDisplayContrastMax
williamr@2
   361
williamr@2
   362
		@capability WriteDeviceData needed to Set this attribute
williamr@2
   363
		*/
williamr@2
   364
		EDisplayContrast,
williamr@2
   365
	
williamr@2
   366
		
williamr@2
   367
		/**
williamr@2
   368
		The maximum value for EDisplayContrast
williamr@2
   369
		
williamr@2
   370
		@see HALData::EDisplayContrast
williamr@2
   371
		*/
williamr@2
   372
		EDisplayContrastMax,
williamr@2
   373
		
williamr@2
   374
		
williamr@2
   375
		/**
williamr@2
   376
		Indicates whether there is a backlight on the device.
williamr@2
   377
williamr@2
   378
		It has the values:
williamr@2
   379
		0 = there is no screen backlight;
williamr@2
   380
		1 = a screen backlight is present.
williamr@2
   381
		*/
williamr@2
   382
		EBacklight,
williamr@2
   383
			
williamr@2
   384
		
williamr@2
   385
		/**
williamr@2
   386
		The current status of the backlight.
williamr@2
   387
williamr@2
   388
		It has the values:
williamr@2
   389
		0 = off;
williamr@2
   390
		1 = on.
williamr@2
   391
        
williamr@2
   392
        This is dynamic and writeable.
williamr@2
   393
williamr@2
   394
		@capability WriteDeviceData needed to Set this attribute
williamr@2
   395
		*/
williamr@2
   396
		EBacklightState,
williamr@2
   397
			
williamr@2
   398
		
williamr@2
   399
		/**
williamr@2
   400
		Indicates whether a pen or digitizer is available for input.
williamr@2
   401
williamr@2
   402
		It has the values:
williamr@2
   403
		0 = a pen/digitizer is not available for input;
williamr@2
   404
		1 = a pen/digitizeris present.
williamr@2
   405
		*/
williamr@2
   406
		EPen,
williamr@2
   407
			
williamr@2
   408
		
williamr@2
   409
		/**
williamr@2
   410
		The pen/digitizer horizontal resolution, in pixels.
williamr@2
   411
		*/
williamr@2
   412
		EPenX,
williamr@2
   413
			
williamr@2
   414
		
williamr@2
   415
		/**
williamr@2
   416
		The is the pen/digitizer vertical resolution, in pixels.
williamr@2
   417
		*/
williamr@2
   418
		EPenY,
williamr@2
   419
			
williamr@2
   420
		
williamr@2
   421
		/**
williamr@2
   422
		Indicates whether a pen tap will turn the display on.
williamr@2
   423
williamr@2
   424
        It has the values:
williamr@2
   425
        0 = a pen tap has no effect;
williamr@2
   426
        1 = a pent tap or press enables the display.
williamr@2
   427
        
williamr@2
   428
        The is dynamic and writeable
williamr@2
   429
williamr@2
   430
		@capability WriteDeviceData needed to Set this attribute
williamr@2
   431
		*/
williamr@2
   432
		EPenDisplayOn,
williamr@2
   433
			
williamr@2
   434
		
williamr@2
   435
		/**
williamr@2
   436
		Indicates whether the device can produce a click sound for
williamr@2
   437
		each pen tap.
williamr@2
   438
williamr@2
   439
		It has the values:
williamr@2
   440
        0 = the device cannot produce a click sound
williamr@2
   441
        1 = production of a click sound is supported by the device.
williamr@2
   442
		*/
williamr@2
   443
		EPenClick,
williamr@2
   444
			
williamr@2
   445
		
williamr@2
   446
		/**
williamr@2
   447
		The state of pen clicking.
williamr@2
   448
		
williamr@2
   449
		It has the values:
williamr@2
   450
		0 = pen clicking is disabled;
williamr@2
   451
		1 = pen clicking is enabled.
williamr@2
   452
		
williamr@2
   453
        This is dynamic and writable.
williamr@2
   454
williamr@2
   455
		@capability WriteDeviceData needed to Set this attribute
williamr@2
   456
		*/
williamr@2
   457
		EPenClickState,
williamr@2
   458
			
williamr@2
   459
		
williamr@2
   460
		/**
williamr@2
   461
		This pen click volume level.
williamr@2
   462
        It can take a value in the range 0 to EPenClickVolumeMax.
williamr@2
   463
        
williamr@2
   464
        This value is dynamic and writable.
williamr@2
   465
        
williamr@2
   466
        @see HALData::EPenClickVolumeMax
williamr@2
   467
williamr@2
   468
		@capability WriteDeviceData needed to Set this attribute
williamr@2
   469
		*/
williamr@2
   470
		EPenClickVolume,
williamr@2
   471
			
williamr@2
   472
		
williamr@2
   473
		/**
williamr@2
   474
		The maximum value for EPenClickVolume.
williamr@2
   475
		
williamr@2
   476
		@see HALData::EPenClickVolume
williamr@2
   477
		*/
williamr@2
   478
		EPenClickVolumeMax,
williamr@2
   479
			
williamr@2
   480
		
williamr@2
   481
		/**
williamr@2
   482
		Indicates whether a mouse is available for input.
williamr@2
   483
		
williamr@2
   484
		It has the values:
williamr@2
   485
		0 = there is no mouse availablea pen/digitizeris present;
williamr@2
   486
		1 = a mouse is available for input.
williamr@2
   487
		*/
williamr@2
   488
		EMouse,
williamr@2
   489
			
williamr@2
   490
		
williamr@2
   491
		/**
williamr@2
   492
		The mouse horizontal resolution, in pixels.
williamr@2
   493
		*/
williamr@2
   494
		EMouseX,
williamr@2
   495
			
williamr@2
   496
		
williamr@2
   497
		/**
williamr@2
   498
		The mouse vertical resolution, in pixels.
williamr@2
   499
		*/
williamr@2
   500
		EMouseY,
williamr@2
   501
			
williamr@2
   502
		
williamr@2
   503
		/**
williamr@2
   504
		Describes the mouse cursor visibility.
williamr@2
   505
williamr@2
   506
        The value is enumerated by TMouseState.
williamr@2
   507
        
williamr@2
   508
		This is dynamic and writable.
williamr@2
   509
		@see HALData::TMouseState
williamr@2
   510
		
williamr@2
   511
		@capability MultimediaDD needed to Set this attribute
williamr@2
   512
		*/
williamr@2
   513
		EMouseState,
williamr@2
   514
			
williamr@2
   515
		
williamr@2
   516
		/**
williamr@2
   517
        Reserved for future use.
williamr@2
   518
		@capability MultimediaDD needed to Set this attribute
williamr@2
   519
		*/
williamr@2
   520
		EMouseSpeed,
williamr@2
   521
		
williamr@2
   522
		
williamr@2
   523
		/**
williamr@2
   524
		Reserved for future use.
williamr@2
   525
		@capability MultimediaDD needed to Set this attribute
williamr@2
   526
		*/
williamr@2
   527
		EMouseAcceleration,
williamr@2
   528
		
williamr@2
   529
		
williamr@2
   530
		/**
williamr@2
   531
		The number of buttons on the mouse.
williamr@2
   532
		*/
williamr@2
   533
		EMouseButtons,
williamr@2
   534
		
williamr@2
   535
		
williamr@2
   536
		/**
williamr@2
   537
        A bitmask defining the state of each button .
williamr@2
   538
williamr@2
   539
        For each bit, it has values:
williamr@2
   540
        0 = up;
williamr@2
   541
        1 = down.
williamr@2
   542
        
williamr@2
   543
		This is dynamic and read only.
williamr@2
   544
		*/
williamr@2
   545
		EMouseButtonState,
williamr@2
   546
		
williamr@2
   547
		
williamr@2
   548
		/**
williamr@2
   549
		Defines the state of the case.
williamr@2
   550
		
williamr@2
   551
        It has the values:
williamr@2
   552
        0 = case closed;
williamr@2
   553
        1 = case opened.
williamr@2
   554
        
williamr@2
   555
        This is dynamic and read only.
williamr@2
   556
		*/
williamr@2
   557
		ECaseState,
williamr@2
   558
		
williamr@2
   559
		
williamr@2
   560
		/**
williamr@2
   561
		Indicates whether the device has a case switch, that actions when
williamr@2
   562
		the case opens and closes.
williamr@2
   563
		
williamr@2
   564
        It has values:
williamr@2
   565
        0 = no;
williamr@2
   566
        1 = yes.
williamr@2
   567
		*/
williamr@2
   568
		ECaseSwitch,
williamr@2
   569
		
williamr@2
   570
		
williamr@2
   571
		/**
williamr@2
   572
		Indicates whether the device is to switch on when case opens.
williamr@2
   573
		
williamr@2
   574
		It has the values:
williamr@2
   575
		0 = disable device switchon when the case opens;
williamr@2
   576
		1 = enable device  switchon when the case opens.
williamr@2
   577
        
williamr@2
   578
        This is dynamic and writeable.
williamr@2
   579
williamr@2
   580
		@capability WriteDeviceData needed to Set this attribute
williamr@2
   581
		*/
williamr@2
   582
		ECaseSwitchDisplayOn,
williamr@2
   583
		
williamr@2
   584
		
williamr@2
   585
		/**
williamr@2
   586
        Indicates whether the device is to switch off when case close.
williamr@2
   587
williamr@2
   588
		It has the values:
williamr@2
   589
		0 = disable device switchoff when the case closes;
williamr@2
   590
		1 = enable device switchoff when the case closes.
williamr@2
   591
        
williamr@2
   592
        This is dynamic and writeable.
williamr@2
   593
williamr@2
   594
		@capability WriteDeviceData needed to Set this attribute
williamr@2
   595
		*/
williamr@2
   596
		ECaseSwitchDisplayOff,
williamr@2
   597
		
williamr@2
   598
		
williamr@2
   599
		/**
williamr@2
   600
		The number of LEDs on the device.
williamr@2
   601
		*/
williamr@2
   602
		ELEDs,
williamr@2
   603
		
williamr@2
   604
		
williamr@2
   605
		/**
williamr@2
   606
        A bitmask defining the state of each LED.
williamr@2
   607
williamr@2
   608
        For each bit, it has values:
williamr@2
   609
        0 = off;
williamr@2
   610
        1 = on.
williamr@2
   611
		
williamr@2
   612
		This is dynamic and writeable.
williamr@2
   613
		*/
williamr@2
   614
		ELEDmask,
williamr@2
   615
		
williamr@2
   616
		
williamr@2
   617
		/**
williamr@2
   618
		Indicates how the phone hardware is connected.
williamr@2
   619
		
williamr@2
   620
		It has the values:
williamr@2
   621
		0 = phone hardware is not permanently connected;
williamr@2
   622
		1 = phone hardware is permanently connected.
williamr@2
   623
		*/
williamr@2
   624
		EIntegratedPhone,
williamr@2
   625
		
williamr@2
   626
		
williamr@2
   627
		/**
williamr@2
   628
		@capability WriteDeviceData needed to Set this attribute
williamr@2
   629
		*/
williamr@2
   630
		EDisplayBrightness,
williamr@2
   631
	
williamr@2
   632
		
williamr@2
   633
		/**
williamr@2
   634
		*/
williamr@2
   635
		EDisplayBrightnessMax,
williamr@2
   636
	
williamr@2
   637
		
williamr@2
   638
		/**
williamr@2
   639
		Inidcates the state of the keyboard backlight.
williamr@2
   640
        
williamr@2
   641
        It has the values:
williamr@2
   642
        0 = keyboard backlight is off;
williamr@2
   643
        1 = keyboard backlight is on.
williamr@2
   644
williamr@2
   645
		This is dynamic and writeable.
williamr@2
   646
williamr@2
   647
		@capability PowerMgmt needed to Set this attribute
williamr@2
   648
		*/
williamr@2
   649
		EKeyboardBacklightState,
williamr@2
   650
	
williamr@2
   651
		
williamr@2
   652
		/**
williamr@2
   653
		Power supply to an accessory port.
williamr@2
   654
williamr@2
   655
        It has the values:
williamr@2
   656
        0 = turn off power to an accessory port on the device;
williamr@2
   657
        1 = turn on power.
williamr@2
   658
        
williamr@2
   659
        This is dynamic and writeable.
williamr@2
   660
williamr@2
   661
		@capability PowerMgmt needed to Set this attribute
williamr@2
   662
		*/
williamr@2
   663
		EAccessoryPower,
williamr@2
   664
	
williamr@2
   665
		
williamr@2
   666
		/**
williamr@2
   667
		A 2 decimal digit language index. 
williamr@2
   668
		
williamr@2
   669
		It is used as the two digit language number that is the suffix of
williamr@2
   670
		language resource DLLs, e.g ELOCL.01.
williamr@2
   671
williamr@2
   672
		The locale with this language index is loaded the next time that
williamr@2
   673
		the device boots.
williamr@2
   674
williamr@2
   675
        This is dynamic and writeable.
williamr@2
   676
williamr@2
   677
		@see TLanguage
williamr@2
   678
williamr@2
   679
		@capability WriteDeviceData needed to Set this attribute
williamr@2
   680
		*/
williamr@2
   681
		ELanguageIndex,
williamr@2
   682
	
williamr@2
   683
		
williamr@2
   684
		/**
williamr@2
   685
		A 2 decimal digit (decimal) language keyboard index.
williamr@2
   686
		It is used as the two digit language number that is the suffix of
williamr@2
   687
		language resource DLLs, e.g. EKDATA.01.
williamr@2
   688
		
williamr@2
   689
		@see TLanguage
williamr@2
   690
williamr@2
   691
		@capability WriteDeviceData needed to Set this attribute
williamr@2
   692
		*/
williamr@2
   693
		EKeyboardIndex,
williamr@2
   694
	
williamr@2
   695
		
williamr@2
   696
		/**
williamr@2
   697
		The maximum allowable size of RAM drive, in bytes.
williamr@2
   698
		*/
williamr@2
   699
		EMaxRAMDriveSize,
williamr@2
   700
	
williamr@2
   701
		
williamr@2
   702
		/**
williamr@2
   703
		Indicates the state of the keyboard.
williamr@2
   704
		
williamr@2
   705
		It has the values:
williamr@2
   706
		0 = keyboard is disabled;
williamr@2
   707
		1 = Keyboard is enabled.
williamr@2
   708
        
williamr@2
   709
        This is dynamic and writeable.
williamr@2
   710
williamr@2
   711
		@capability PowerMgmt needed to Set this attribute
williamr@2
   712
		*/
williamr@2
   713
		EKeyboardState,
williamr@2
   714
	
williamr@2
   715
		/**
williamr@2
   716
  		Defines the system drive & custom resource drive. 
williamr@2
   717
        Legacy attribute which is no longer supported.
williamr@2
   718
  
williamr@2
   719
  		@deprecated Attribute is no longer the primary mechanism to define the 
williamr@2
   720
  		System Drive or the Custom Resource Drive.
williamr@2
   721
        @see RFs::GetSystemDrive.
williamr@2
   722
        @see BaflUtils::NearestLanguageFile
williamr@2
   723
        @see HALData::ECustomResourceDrive
williamr@2
   724
  		*/
williamr@2
   725
		ESystemDrive,	
williamr@2
   726
		
williamr@2
   727
		/**
williamr@2
   728
		Indicates the state of the pen or digitiser.
williamr@2
   729
williamr@2
   730
		It has the values:
williamr@2
   731
		1 = pen/digitiser is enabled;
williamr@2
   732
		0 = pen/digitiser is disabled.
williamr@2
   733
		
williamr@2
   734
        This is dynamic and writeable.
williamr@2
   735
williamr@2
   736
		@capability PowerMgmt needed to Set this attribute
williamr@2
   737
		*/
williamr@2
   738
		EPenState,
williamr@2
   739
	
williamr@2
   740
		
williamr@2
   741
		/**
williamr@2
   742
		On input: aInOut contains the mode number.
williamr@2
   743
        On output: aInOut contains: 0 = display is colour;
williamr@2
   744
                                    1 = display is black & white.
williamr@2
   745
        
williamr@2
   746
        aInOut is the 3rd parameter passed to accessor functions
williamr@2
   747
        for derived attributes.
williamr@2
   748
		*/
williamr@2
   749
		EDisplayIsMono,
williamr@2
   750
	
williamr@2
   751
		
williamr@2
   752
		/**
williamr@2
   753
		On input: aInOut contains the mode number;
williamr@2
   754
        On output, aInOut contains: 0 = display is not palettised;
williamr@2
   755
                                    1 = display is palettised.
williamr@2
   756
        
williamr@2
   757
        aInOut is the 3rd parameter passed to accessor functions
williamr@2
   758
        for derived attributes.
williamr@2
   759
  		*/
williamr@2
   760
		EDisplayIsPalettized,
williamr@2
   761
	
williamr@2
   762
		
williamr@2
   763
		/**
williamr@2
   764
		The display bits per pixel.
williamr@2
   765
		
williamr@2
   766
        On input, aInOut contains the mode number.
williamr@2
   767
        On output, aInOut contains the bits per pixel for that mode.
williamr@2
   768
williamr@2
   769
        aInOut is the 3rd parameter passed to accessor functions
williamr@2
   770
        for derived attributes.
williamr@2
   771
        
williamr@2
   772
        It is read only data.
williamr@2
   773
		*/
williamr@2
   774
		EDisplayBitsPerPixel,
williamr@2
   775
	
williamr@2
   776
		
williamr@2
   777
		/**
williamr@2
   778
		The number of display modes available.
williamr@2
   779
		*/
williamr@2
   780
		EDisplayNumModes,
williamr@2
   781
	
williamr@2
   782
		
williamr@2
   783
		/**
williamr@2
   784
		The address of the display memory.
williamr@2
   785
		*/
williamr@2
   786
		EDisplayMemoryAddress,
williamr@2
   787
	
williamr@2
   788
		
williamr@2
   789
		/**
williamr@2
   790
		The offset, in bytes, to the pixel area of the screen from the start of screen memory.
williamr@2
   791
		
williamr@2
   792
		This is used to account for the fact that the palette is sometimes at
williamr@2
   793
		the beginning of the display memory.
williamr@2
   794
		
williamr@2
   795
        On input, aInOut contains the mode number.
williamr@2
   796
        On output, aInOut contains the offset to the first pixel for that mode.
williamr@2
   797
williamr@2
   798
        aInOut is the 3rd parameter passed to accessor functions
williamr@2
   799
        for derived attributes.
williamr@2
   800
		*/
williamr@2
   801
		EDisplayOffsetToFirstPixel,
williamr@2
   802
	
williamr@2
   803
		
williamr@2
   804
		/**
williamr@2
   805
		The separation, in bytes, of successive lines of display in memory.
williamr@2
   806
        
williamr@2
   807
        On input, aInOut contains the mode number.
williamr@2
   808
        On output, aInOut contains the display offset between lines.
williamr@2
   809
williamr@2
   810
        aInOut is the 3rd parameter passed to accessor functions
williamr@2
   811
        for derived attributes.
williamr@2
   812
		*/
williamr@2
   813
		EDisplayOffsetBetweenLines,
williamr@2
   814
	
williamr@2
   815
		
williamr@2
   816
		/**
williamr@2
   817
		@capability MultimediaDD needed to Set this attribute
williamr@2
   818
		*/
williamr@2
   819
		EDisplayPaletteEntry,
williamr@2
   820
	
williamr@2
   821
		
williamr@2
   822
		/**
williamr@2
   823
		It has the values:
williamr@2
   824
		1 = order of pixels in display is RGB;
williamr@2
   825
		0 = otherwise.
williamr@2
   826
		*/
williamr@2
   827
		EDisplayIsPixelOrderRGB,
williamr@2
   828
	
williamr@2
   829
		
williamr@2
   830
		/**
williamr@2
   831
		It has the values:
williamr@2
   832
		1 = pixel order is landscape;
williamr@2
   833
		0 = pixel order is portrait.
williamr@2
   834
		*/
williamr@2
   835
		EDisplayIsPixelOrderLandscape,
williamr@2
   836
	
williamr@2
   837
		
williamr@2
   838
		/**
williamr@2
   839
		This indicates or sets the current display mode where
williamr@2
   840
		EDisplayNumModes-1 is the maximum value for the display mode.
williamr@2
   841
		The properties of a particular display mode are entirely defined by
williamr@2
   842
		the base port software associated with the hardware upon which the OS
williamr@2
   843
		is running.
williamr@2
   844
williamr@2
   845
		@capability MultimediaDD needed to Set this attribute
williamr@2
   846
		*/
williamr@2
   847
		EDisplayMode,
williamr@2
   848
	
williamr@2
   849
		
williamr@2
   850
		/**
williamr@2
   851
		If the target hardware upon which Symbian OS is running has switches
williamr@2
   852
		which can be read by the base port software, this interface allows
williamr@2
   853
		the current status of those switches to be read. 
williamr@2
   854
		*/
williamr@2
   855
		ESwitches,
williamr@2
   856
	
williamr@2
   857
		
williamr@2
   858
		/**
williamr@2
   859
		The port number of the debug port.
williamr@2
   860
		*/
williamr@2
   861
		EDebugPort,
williamr@2
   862
	
williamr@2
   863
		
williamr@2
   864
		/**
williamr@2
   865
		The language code of the Locale which was loaded at device boot time.
williamr@2
   866
williamr@2
   867
        This is dynamic and writeable.
williamr@2
   868
williamr@2
   869
		@see ELanguageIndex
williamr@2
   870
williamr@2
   871
		@capability WriteSystemData needed to Set this attribute
williamr@2
   872
		*/
williamr@2
   873
		ELocaleLoaded,
williamr@2
   874
	
williamr@2
   875
		
williamr@2
   876
		/**
williamr@2
   877
		The drive number to use for storage of Clipboard data.
williamr@2
   878
		0 = Drive A, 1 = Drive B, etc...
williamr@2
   879
		*/
williamr@2
   880
		EClipboardDrive,
williamr@2
   881
	
williamr@2
   882
		/**
williamr@2
   883
		Custom restart
williamr@2
   884
		@capability PowerMgmt
williamr@2
   885
		*/
williamr@2
   886
		ECustomRestart,
williamr@2
   887
williamr@2
   888
		/**
williamr@2
   889
		Custom restart reason
williamr@2
   890
		*/
williamr@2
   891
		ECustomRestartReason,
williamr@2
   892
williamr@2
   893
		/**
williamr@2
   894
		The number of screens.
williamr@2
   895
		*/
williamr@2
   896
		EDisplayNumberOfScreens,
williamr@2
   897
williamr@2
   898
		/**
williamr@2
   899
		The time between nanokernel ticks, in microseconds.
williamr@2
   900
		*/
williamr@2
   901
		ENanoTickPeriod,
williamr@2
   902
williamr@2
   903
		/**
williamr@2
   904
		The frequency of the fast counter.
williamr@2
   905
		*/
williamr@2
   906
		EFastCounterFrequency,
williamr@2
   907
williamr@2
   908
		/**
williamr@2
   909
		Indicates the whether the fast counter counts up or down.
williamr@2
   910
		*/
williamr@2
   911
		EFastCounterCountsUp,
williamr@2
   912
williamr@2
   913
		/**
williamr@2
   914
		@prototype
williamr@2
   915
williamr@2
   916
		Indicates whether a 3 dimensional pointing device is available for input.
williamr@2
   917
williamr@2
   918
		It has the values:
williamr@2
   919
		0 = a 3D pointer is not available for input;
williamr@2
   920
		1 = a 3D pointer is present.
williamr@2
   921
		*/
williamr@2
   922
		EPointer3D,
williamr@2
   923
williamr@2
   924
		/**
williamr@2
   925
		@prototype
williamr@2
   926
williamr@2
   927
		The 3D pointing device detection range, in units of distance above the screen.
williamr@2
   928
williamr@2
   929
		This is dynamic and writeable.
williamr@2
   930
		*/
williamr@2
   931
		EPointer3DZ,
williamr@2
   932
williamr@2
   933
		/**
williamr@2
   934
		@prototype
williamr@2
   935
williamr@2
   936
		Indicates whether a 3 dimensional pointing device supports Theta polar angle reading.
williamr@2
   937
williamr@2
   938
		It has the values:
williamr@2
   939
		0 = a 3D pointer does not support Theta polar angle reading;
williamr@2
   940
		1 = a 3D pointer supports Theta polar angle reading.
williamr@2
   941
		*/
williamr@2
   942
		EPointer3DThetaSupported,
williamr@2
   943
williamr@2
   944
		/**
williamr@2
   945
		@prototype
williamr@2
   946
williamr@2
   947
		Indicates whether a 3 dimensional pointing device supports Phi polar angle reading.
williamr@2
   948
williamr@2
   949
		It has the values:
williamr@2
   950
		0 = a 3D pointer does not support Phi polar angle reading;
williamr@2
   951
		1 = a 3D pointer supports Phi polar angle reading.
williamr@2
   952
		*/
williamr@2
   953
		EPointer3DPhiSupported,
williamr@2
   954
williamr@2
   955
		/**
williamr@2
   956
		@prototype
williamr@2
   957
williamr@2
   958
		Indicates whether a 3 dimensional pointing device supports rotation angle along its main axis reading.
williamr@2
   959
williamr@2
   960
		It has the values:
williamr@2
   961
		0 = a 3D pointer does not support alpha (rotation) reading;
williamr@2
   962
		1 = a 3D pointer supports alpha (rotation) reading.
williamr@2
   963
		*/
williamr@2
   964
		EPointer3DRotationSupported,
williamr@2
   965
williamr@2
   966
		/**
williamr@2
   967
		@prototype
williamr@2
   968
williamr@2
   969
		Indicates whether a 3 dimensional pointing device supports readings of pressure applied on screen.
williamr@2
   970
williamr@2
   971
		It has the values:
williamr@2
   972
		0 = a 3D pointer does not support pressure reading;
williamr@2
   973
		1 = a 3D pointer supports pressure reading.
williamr@2
   974
		*/
williamr@2
   975
		EPointer3DPressureSupported,
williamr@2
   976
williamr@2
   977
		/**
williamr@2
   978
		Indicates whether hardware floating point is available, and what type.
williamr@2
   979
		
williamr@2
   980
		If no hardware floating point is available, reading this attribute will return KErrNotSupported.
williamr@2
   981
		If hardware floating point is available, reading this attribute will return KErrNone and the type
williamr@2
   982
		available. These types are specified in TFloatingPointType.
williamr@2
   983
		*/
williamr@2
   984
		EHardwareFloatingPoint,
williamr@2
   985
williamr@2
   986
		/**
williamr@2
   987
		The offset between secure and nonsecure clocks. If this attribute is undefined no secure clock
williamr@2
   988
		will be available.
williamr@2
   989
		*/
williamr@2
   990
		ETimeNonSecureOffset,
williamr@2
   991
williamr@2
   992
		/**
williamr@2
   993
		Persist startup mode.
williamr@2
   994
williamr@2
   995
		If no variant specific implementation exists, the startup mode will be stored in platform
williamr@2
   996
		specific values.hda file.
williamr@2
   997
		*/
williamr@2
   998
		EPersistStartupModeKernel,
williamr@2
   999
williamr@2
  1000
		/**
williamr@2
  1001
		Maximum restart reasons.
williamr@2
  1002
williamr@2
  1003
		Returns the maximum number of values that can be used to store the restart reason required for a custom restart.
williamr@2
  1004
		*/
williamr@2
  1005
		EMaximumCustomRestartReasons,
williamr@2
  1006
williamr@2
  1007
		/**
williamr@2
  1008
		Maximum startup modes.
williamr@2
  1009
		
williamr@2
  1010
		Returns the maximum number of values that can be used to store the startup mode requires for a system restart.
williamr@2
  1011
		*/
williamr@2
  1012
		EMaximumRestartStartupModes,
williamr@2
  1013
		
williamr@2
  1014
		/**
williamr@2
  1015
		Defines the custom resource drive.
williamr@2
  1016
		
williamr@2
  1017
		This drive attribute should be set if an aditional drive is required for use in the search 
williamr@2
  1018
		algorithm for language files.  
williamr@2
  1019
        
williamr@2
  1020
        @see TDriveNumber
williamr@2
  1021
		@see BaflUtils::NearestLanguageFile for how this attribute is used
williamr@2
  1022
		@capability WriteDeviceData needed to Set this attribute
williamr@2
  1023
		*/
williamr@2
  1024
		ECustomResourceDrive,
williamr@2
  1025
williamr@2
  1026
		/**
williamr@2
  1027
		The number of HAL attributes per screen.
williamr@2
  1028
		
williamr@2
  1029
		It is simply defined by its position in the enumeration.
williamr@2
  1030
		*/
williamr@2
  1031
		ENumHalAttributes
williamr@2
  1032
		};
williamr@2
  1033
williamr@2
  1034
williamr@2
  1035
williamr@2
  1036
    /**
williamr@2
  1037
    Defines properties for the hardware attributes.
williamr@2
  1038
    
williamr@2
  1039
    @see HALData::TAttribute
williamr@2
  1040
    */
williamr@2
  1041
	enum TAttributeProperty
williamr@2
  1042
		{
williamr@2
  1043
		/**
williamr@2
  1044
		When set, means that an attribute is meaningful on this device.
williamr@2
  1045
				
williamr@2
  1046
		@see HAL::Get()
williamr@2
  1047
		@see HAL::Set()
williamr@2
  1048
		*/
williamr@2
  1049
		EValid=0x1,
williamr@2
  1050
		
williamr@2
  1051
		
williamr@2
  1052
		/**
williamr@2
  1053
		When set, means that an attribute is modifiable.
williamr@2
  1054
		A call to HAL::Set() for an attribute that does not have this property,
williamr@2
  1055
		returns KErrNotSupported.
williamr@2
  1056
		
williamr@2
  1057
		@see HAL::Get()
williamr@2
  1058
		@see HAL::Set()
williamr@2
  1059
		*/
williamr@2
  1060
		ESettable=0x2,
williamr@2
  1061
		};
williamr@2
  1062
williamr@2
  1063
williamr@2
  1064
williamr@2
  1065
    /**
williamr@2
  1066
    UIDs for a defined set of device manufacturers.
williamr@2
  1067
    
williamr@2
  1068
    Note that any manufacturer not represented in this list must obtain
williamr@2
  1069
    a value from the Symbian registry.
williamr@2
  1070
    
williamr@2
  1071
    @see HALData::TAttribute
williamr@2
  1072
    */
williamr@2
  1073
    enum TManufacturer // UID for manufacturer
williamr@2
  1074
		{
williamr@2
  1075
		EManufacturer_Ericsson=0x00000000,
williamr@2
  1076
		EManufacturer_Motorola=0x00000001,
williamr@2
  1077
		EManufacturer_Nokia=0x00000002,
williamr@2
  1078
		EManufacturer_Panasonic=0x00000003,
williamr@2
  1079
		EManufacturer_Psion=0x00000004,
williamr@2
  1080
		EManufacturer_Intel=0x00000005,
williamr@2
  1081
		EManufacturer_Cogent=0x00000006,
williamr@2
  1082
		EManufacturer_Cirrus=0x00000007,
williamr@2
  1083
		EManufacturer_Linkup=0x00000008,
williamr@2
  1084
		EManufacturer_TexasInstruments=0x00000009,
williamr@2
  1085
		// New manufacturers must obtain an official UID to identify themselves
williamr@2
  1086
		};
williamr@2
  1087
williamr@2
  1088
williamr@2
  1089
williamr@2
  1090
    /**
williamr@2
  1091
	Defines the Symbian OS device families.
williamr@2
  1092
	
williamr@2
  1093
    @see HALData::TAttribute
williamr@2
  1094
    */
williamr@2
  1095
	enum TDeviceFamily
williamr@2
  1096
		{
williamr@2
  1097
		EDeviceFamily_Crystal,
williamr@2
  1098
		EDeviceFamily_Pearl,
williamr@2
  1099
		EDeviceFamily_Quartz,
williamr@2
  1100
		};
williamr@2
  1101
williamr@2
  1102
williamr@2
  1103
williamr@2
  1104
    /**
williamr@2
  1105
    Defines the set of CPU architectures.
williamr@2
  1106
    
williamr@2
  1107
    @see HALData::TAttribute
williamr@2
  1108
    */
williamr@2
  1109
	enum TCPU
williamr@2
  1110
		{
williamr@2
  1111
		ECPU_ARM,
williamr@2
  1112
		ECPU_MCORE,
williamr@2
  1113
		ECPU_X86,
williamr@2
  1114
		};
williamr@2
  1115
williamr@2
  1116
williamr@2
  1117
williamr@2
  1118
    /**
williamr@2
  1119
    Defines the set of ABIs used by the CPU for user applications.
williamr@2
  1120
    
williamr@2
  1121
    @see HALData::TAttribute    
williamr@2
  1122
    */
williamr@2
  1123
	enum TCPUABI
williamr@2
  1124
		{
williamr@2
  1125
		ECPUABI_ARM4,
williamr@2
  1126
		ECPUABI_ARMI,
williamr@2
  1127
		ECPUABI_THUMB,
williamr@2
  1128
		ECPUABI_MCORE,
williamr@2
  1129
		ECPUABI_MSVC,
williamr@2
  1130
		ECPUABI_ARM5T,
williamr@2
  1131
		ECPUABI_X86,
williamr@2
  1132
		};
williamr@2
  1133
williamr@2
  1134
williamr@2
  1135
williamr@2
  1136
    /**
williamr@2
  1137
    Defines the set of reasons for a system boot.
williamr@2
  1138
    
williamr@2
  1139
    @see HALData::TAttribute
williamr@2
  1140
    */
williamr@2
  1141
	enum TSystemStartupReason
williamr@2
  1142
		{
williamr@2
  1143
		ESystemStartupReason_Cold,
williamr@2
  1144
		ESystemStartupReason_Warm,
williamr@2
  1145
		ESystemStartupReason_Fault,
williamr@2
  1146
		};
williamr@2
  1147
williamr@2
  1148
williamr@2
  1149
williamr@2
  1150
    /**
williamr@2
  1151
    Defines the set of available keyboard types.
williamr@2
  1152
williamr@2
  1153
    @see HALData::TAttribute
williamr@2
  1154
    */
williamr@2
  1155
	bitmask TKeyboard
williamr@2
  1156
		{
williamr@2
  1157
		EKeyboard_Keypad=0x1,
williamr@2
  1158
		EKeyboard_Full=0x2,
williamr@2
  1159
		};
williamr@2
  1160
williamr@2
  1161
williamr@2
  1162
williamr@2
  1163
    /**
williamr@2
  1164
    Defines the mouse cursor visibility.
williamr@2
  1165
    
williamr@2
  1166
    @see HALData::TAttribute
williamr@2
  1167
    */
williamr@2
  1168
	enum TMouseState
williamr@2
  1169
		{
williamr@2
  1170
		EMouseState_Invisible=0,
williamr@2
  1171
		EMouseState_Visible=1,
williamr@2
  1172
		};
williamr@2
  1173
williamr@2
  1174
williamr@2
  1175
williamr@2
  1176
    /**
williamr@2
  1177
    Defines a set of UIDs for specific devices, reference boards etc
williamr@2
  1178
    
williamr@2
  1179
    @see HALData::TAttribute
williamr@2
  1180
    */
williamr@2
  1181
	enum TMachineUid
williamr@2
  1182
		{
williamr@2
  1183
		EMachineUid_Series5mx=0x1000118a,
williamr@2
  1184
		EMachineUid_Brutus=0x10005f60,
williamr@2
  1185
		EMachineUid_Cogent=0x10005f61,
williamr@2
  1186
		EMachineUid_Win32Emulator=0x10005f62,
williamr@2
  1187
		EMachineUid_WinC=0x10005f63,
williamr@2
  1188
		EMachineUid_CL7211_Eval=0x1000604f,
williamr@2
  1189
		EMachineUid_LinkUp=0x00000000,
williamr@2
  1190
		EMachineUid_Assabet=0x100093f3,
williamr@2
  1191
		EMachineUid_Zylonite=0x101f7f27,
williamr@2
  1192
		EMachineUid_IQ80310=0x1000a681,
williamr@2
  1193
		EMachineUid_Lubbock=0x101f7f26,
williamr@2
  1194
		EMachineUid_Integrator=0x1000AAEA,
williamr@2
  1195
		EMachineUid_Helen=0x101F3EE3,
williamr@2
  1196
		EMachineUid_X86PC=0x100000ad,
williamr@2
  1197
		EMachineUid_OmapH2=0x1020601C,
williamr@2
  1198
		EMachineUid_OmapH4=0x102734E3,
williamr@2
  1199
		};
williamr@2
  1200
williamr@2
  1201
williamr@2
  1202
williamr@2
  1203
    /**
williamr@2
  1204
    Defines power levels for the system (or 'Main') battery.
williamr@2
  1205
    
williamr@2
  1206
    @see HALData::TAttribute
williamr@2
  1207
    */
williamr@2
  1208
	enum TPowerBatteryStatus
williamr@2
  1209
		{
williamr@2
  1210
		EPowerBatteryStatus_Zero,
williamr@2
  1211
		EPowerBatteryStatus_Replace,
williamr@2
  1212
		EPowerBatteryStatus_Low,
williamr@2
  1213
		EPowerBatteryStatus_Good,
williamr@2
  1214
		};
williamr@2
  1215
williamr@2
  1216
williamr@2
  1217
williamr@2
  1218
    /**
williamr@2
  1219
    Defines power levels for the backup power.
williamr@2
  1220
williamr@2
  1221
    @see HALData::TAttribute
williamr@2
  1222
    */
williamr@2
  1223
	enum TPowerBackupStatus
williamr@2
  1224
		{
williamr@2
  1225
		EPowerBackupStatus_Zero,
williamr@2
  1226
		EPowerBackupStatus_Replace,
williamr@2
  1227
		EPowerBackupStatus_Low,
williamr@2
  1228
		EPowerBackupStatus_Good,
williamr@2
  1229
		};
williamr@2
  1230
	};
williamr@2
  1231
williamr@2
  1232
#endif