profilesservices/ProfileEngine/EngInc/ProfileEngineConstants.h
changeset 0 8c5d936e5675
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/profilesservices/ProfileEngine/EngInc/ProfileEngineConstants.h	Thu Dec 17 08:52:52 2009 +0200
@@ -0,0 +1,47 @@
+/*
+* 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