Update contrib.
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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // template\template_variant\inc\mconf.h
15 // Template Persistent Machine Configuration
17 // WARNING: This file contains some APIs which are internal and are subject
18 // to change without notice. Such APIs should therefore not be used
19 // outside the Kernel and Hardware Services package.
24 #include <kernel/kernel.h>
26 class TDigitizerCalibrateValues
37 class TTemplateMachineConfig : public TMachineConfig
40 TSoundInfoV1 iSoundInfo;
41 TOnOffInfoV1 iOnOffInfo;
42 TTimeK iMainBatteryInsertionTime;
43 Int64 iMainBatteryInUseMicroSeconds;
44 Int64 iExternalPowerInUseMicroSeconds;
45 Int64 iMainBatteryMilliAmpTicks;
46 TDigitizerCalibrateValues iCalibration;
47 TDigitizerCalibrateValues iCalibrationSaved;
48 TDigitizerCalibrateValues iCalibrationFactory;
51 typedef TTemplateMachineConfig TActualMachineConfig;
53 inline TActualMachineConfig& TheActualMachineConfig()
54 {return (TActualMachineConfig&)Kern::MachineConfig();}