|
1 /* |
|
2 * Copyright (c) 2009 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: BrandingServer constants. |
|
15 * |
|
16 */ |
|
17 // CONSTANTS |
|
18 |
|
19 // Characters to strip from xml text values |
|
20 _LIT( KCommonControlCharacters, "\n\t\r" ); |
|
21 _LIT( KEndl, "\n\r" ); |
|
22 |
|
23 // === Directory & file constants ============================================= |
|
24 _LIT( KDirSeparator, "\\" ); |
|
25 _LIT( KDot, "." ); |
|
26 _LIT( KDefFileName, "brandfile.bin.r" ); |
|
27 _LIT( KDefEventLogDir, "BSImport" ); |
|
28 _LIT( KDefEventLogFile, "eventlog.txt" ); |
|
29 _LIT( KFileElementStore, "files" ); |
|
30 _LIT( KBSDataStore, "data" ); |
|
31 _LIT( KAllFilesWildCard, "*.*" ); |
|
32 _LIT( KBSCDrive, "C:" ); |
|
33 _LIT( KBSZDrive, "Z:" ); |
|
34 // Codescanner warning : hard-coded drive letters (id:25) |
|
35 // this folder is always on c-drive |
|
36 _LIT( KBSIbyDirectory, "c:\\data\\bs\\" ); // CSI: 25 # See above |
|
37 _LIT( KBSIbyExtension, ".iby" ); |
|
38 _LIT( KBSFileLangSuffix, "r" ); |
|
39 const TInt KMaxVersionLenght = 3; |
|
40 |
|
41 const TInt KLeadingZero = 0; |
|
42 const TInt KLangBufLength = 2; |
|
43 |
|
44 // folders inside server's private: "\\private\\102828DD\\" |
|
45 _LIT( KInstallObservePath, "import\\install\\" ); // new files |
|
46 _LIT( KInstallPath, "install\\" ); // installed files |
|
47 |
|
48 // drive where installation files are saved |
|
49 _LIT( KInstallDrive, "C:" ); |
|
50 |
|
51 // brand installation file extension |
|
52 _LIT( KBrandInstallExt, ".install" ); |
|
53 |
|
54 // Separator which separates brand id from application id in |
|
55 // uninstall buffer |
|
56 _LIT( KInstallFileDataSeparator, "$" ); |
|
57 |
|
58 _LIT( KDiscardBrandFileName, "discardedbrand.txt" ); |
|
59 |
|
60 |
|
61 |
|
62 |
|
63 |
|
64 |