gsprofilesrv_plat/profiles_engine_api/inc/ProfileEngineConstants.h
author hgs
Tue, 25 May 2010 04:13:06 +0800
changeset 38 5a264aaf7677
parent 0 8c5d936e5675
child 68 13e71d907dc3
permissions -rw-r--r--
201019_01

/*
* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  Profiles engine constants
*
*/



#ifndef PROFILEENGINECONSTANTS_H
#define PROFILEENGINECONSTANTS_H

//  INCLUDES
#include <e32std.h>
#include "ProfileEng.hrh"

// CONSTANTS
const TInt KProfileFileEstimationSize( 400 );
const TInt KProfilesMaxNumberOfDynamicProfiles( 20 );
const TInt KProfilesMaxTIntLength( 11 );
const TInt KProfileMaxNameLength( PROFILES_MAX_NAME_LENGTH );
const TInt KProfileMaxCallObjectTextLength( 1000 );
const TInt KProfileBaseDynamicProfileId( 30 );    // first dynamic profile ID
// Used for profile settings cenrep-keys - profile id is encoded in the MSB:
const TInt KProfileIdShift( 24 );    

_LIT( KProfileDriveC,           "c:" );
_LIT( KProfileDriveZ,           "z:" );
_LIT( KProfileFilePrefix,       "Profile" );
_LIT( KProfileFileExtension,    ".dat" );
_LIT( KProfileFilePath,         "\\System\\Data\\Profiles\\" );
_LIT( KProfileEngineResourceDriveAndDir, "Z:ProfileEng.rsc" );
_LIT( KProfileMutexName,        "ProfileFileAccessMutexName" );

#endif      // PROFILEENGINECONSTANTS_H

// End of File