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