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 "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // template\template_variant\inc\mconf.h |
|
15 // Template Persistent Machine Configuration |
|
16 // |
|
17 // |
|
18 |
|
19 |
|
20 |
|
21 #ifndef __MCONF_H__ |
|
22 #define __MCONF_H__ |
|
23 #include <kernel.h> |
|
24 |
|
25 class TDigitizerCalibrateValues |
|
26 { |
|
27 public: |
|
28 TInt iR11; |
|
29 TInt iR12; |
|
30 TInt iR21; |
|
31 TInt iR22; |
|
32 TInt iTx; |
|
33 TInt iTy; |
|
34 }; |
|
35 |
|
36 class TTemplateMachineConfig : public TMachineConfig |
|
37 { |
|
38 public: |
|
39 TSoundInfoV1 iSoundInfo; |
|
40 TOnOffInfoV1 iOnOffInfo; |
|
41 TTimeK iMainBatteryInsertionTime; |
|
42 Int64 iMainBatteryInUseMicroSeconds; |
|
43 Int64 iExternalPowerInUseMicroSeconds; |
|
44 Int64 iMainBatteryMilliAmpTicks; |
|
45 TDigitizerCalibrateValues iCalibration; |
|
46 TDigitizerCalibrateValues iCalibrationSaved; |
|
47 TDigitizerCalibrateValues iCalibrationFactory; |
|
48 }; |
|
49 |
|
50 typedef TTemplateMachineConfig TActualMachineConfig; |
|
51 |
|
52 inline TActualMachineConfig& TheActualMachineConfig() |
|
53 {return (TActualMachineConfig&)Kern::MachineConfig();} |
|
54 |
|
55 #endif |