Update contrib.
1 // Copyright (c) 2007-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 "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 // HALSettings header file
31 /** HAL attributes data folder */
32 _LIT(KHalFilePath,"_:\\private\\102825B1\\");
33 /** HAL attributes data file name */
34 _LIT(KHalFileName,"HAL.DAT");
35 /** Buffer descriptor for holding complete HAL data file path and name. */
36 typedef TBuf<28> THalFileName;
40 /**First 4 bytes in the HAL.DAT ('h' 'a' 'l' and version '0')
42 const TUint32 typePrefix = 0x006C6168;
45 HALSettings HAL.DAT header class
46 This class is used to validate HAL.DAT file header
50 TUint32 iMachineUid; //Machine UID
51 TUint32 iTypePrefix; //HAL.DAT first 4 bytes 'h' 'a' 'l' and version '0'
53 THalFileHeader(TUint32 aMachineUid, TUint32 aTypePrefix);
54 TInt ValidateHeader();
57 /** Function to manage command line
59 TInt HALSettingsManager();
61 /** Function to Initialise HAL attribute
64 /** Function to Persist HAL attribute