0
|
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 |
// template\template_variant\inc\mconf.h
|
|
15 |
// Template Persistent Machine Configuration
|
|
16 |
//
|
|
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.
|
|
20 |
//
|
|
21 |
|
|
22 |
#ifndef __MCONF_H__
|
|
23 |
#define __MCONF_H__
|
|
24 |
#include <kernel/kernel.h>
|
|
25 |
|
|
26 |
class TDigitizerCalibrateValues
|
|
27 |
{
|
|
28 |
public:
|
|
29 |
TInt iR11;
|
|
30 |
TInt iR12;
|
|
31 |
TInt iR21;
|
|
32 |
TInt iR22;
|
|
33 |
TInt iTx;
|
|
34 |
TInt iTy;
|
|
35 |
};
|
|
36 |
|
|
37 |
class TTemplateMachineConfig : public TMachineConfig
|
|
38 |
{
|
|
39 |
public:
|
|
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;
|
|
49 |
};
|
|
50 |
|
|
51 |
typedef TTemplateMachineConfig TActualMachineConfig;
|
|
52 |
|
|
53 |
inline TActualMachineConfig& TheActualMachineConfig()
|
|
54 |
{return (TActualMachineConfig&)Kern::MachineConfig();}
|
|
55 |
|
|
56 |
#endif
|