1 /* |
|
2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Profiles engine constants |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef PROFILEENGINECONSTANTS_H |
|
21 #define PROFILEENGINECONSTANTS_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32std.h> |
|
25 #include "ProfileEng.hrh" |
|
26 |
|
27 // CONSTANTS |
|
28 const TInt KProfileFileEstimationSize( 400 ); |
|
29 const TInt KProfilesMaxNumberOfDynamicProfiles( 20 ); |
|
30 const TInt KProfilesMaxTIntLength( 11 ); |
|
31 const TInt KProfileMaxNameLength( PROFILES_MAX_NAME_LENGTH ); |
|
32 const TInt KProfileMaxCallObjectTextLength( 1000 ); |
|
33 const TInt KProfileBaseDynamicProfileId( 30 ); // first dynamic profile ID |
|
34 // Used for profile settings cenrep-keys - profile id is encoded in the MSB: |
|
35 const TInt KProfileIdShift( 24 ); |
|
36 |
|
37 _LIT( KProfileDriveC, "c:" ); |
|
38 _LIT( KProfileDriveZ, "z:" ); |
|
39 _LIT( KProfileFilePrefix, "Profile" ); |
|
40 _LIT( KProfileFileExtension, ".dat" ); |
|
41 _LIT( KProfileFilePath, "\\System\\Data\\Profiles\\" ); |
|
42 _LIT( KProfileEngineResourceDriveAndDir, "Z:ProfileEng.rsc" ); |
|
43 _LIT( KProfileMutexName, "ProfileFileAccessMutexName" ); |
|
44 |
|
45 #endif // PROFILEENGINECONSTANTS_H |
|
46 |
|
47 // End of File |
|