equal
deleted
inserted
replaced
|
1 // Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of the License "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // omap3530/beagleboard\inc\mconf.h |
|
15 // Beagle Persistent Machine Configuration |
|
16 // |
|
17 |
|
18 |
|
19 |
|
20 #ifndef __MCONF_H__ |
|
21 #define __MCONF_H__ |
|
22 #include <kernel.h> |
|
23 |
|
24 class TDigitizerCalibrateValues |
|
25 { |
|
26 public: |
|
27 TInt iR11; |
|
28 TInt iR12; |
|
29 TInt iR21; |
|
30 TInt iR22; |
|
31 TInt iTx; |
|
32 TInt iTy; |
|
33 }; |
|
34 |
|
35 class TBeagleMachineConfig : public TMachineConfig |
|
36 { |
|
37 public: |
|
38 TSoundInfoV1 iSoundInfo; |
|
39 TOnOffInfoV1 iOnOffInfo; |
|
40 TTimeK iMainBatteryInsertionTime; |
|
41 Int64 iMainBatteryInUseMicroSeconds; |
|
42 Int64 iExternalPowerInUseMicroSeconds; |
|
43 Int64 iMainBatteryMilliAmpTicks; |
|
44 TDigitizerCalibrateValues iCalibration; |
|
45 TDigitizerCalibrateValues iCalibrationSaved; |
|
46 TDigitizerCalibrateValues iCalibrationFactory; |
|
47 }; |
|
48 |
|
49 typedef TBeagleMachineConfig TActualMachineConfig; |
|
50 |
|
51 inline TActualMachineConfig& TheActualMachineConfig() |
|
52 {return (TActualMachineConfig&)Kern::MachineConfig();} |
|
53 |
|
54 #endif |