|
1 /* |
|
2 * Copyright (c) 2008 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: Defines the XML elements and values of a manifest file. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef HSPSMANIFEST_H_ |
|
20 #define HSPSMANIFEST_H_ |
|
21 |
|
22 // XML elements from the manifest.dat file |
|
23 _LIT8(KPackage, "package"); |
|
24 |
|
25 // Attributes for KPackage |
|
26 _LIT8(KPackageVersion, "version"); |
|
27 |
|
28 _LIT8(KFamily, "family"); |
|
29 _LIT8(KConfigurationType, "type"); |
|
30 _LIT8(KInterfaceUid, "interfaceuid"); |
|
31 _LIT8(KProviderUid, "provideruid"); |
|
32 _LIT8(KThemeUid, "configurationuid"); |
|
33 _LIT8(KThemeStatus, "status"); |
|
34 _LIT8(KThemeFullName, "fullname"); |
|
35 _LIT8(KThemeShortName, "shortname"); |
|
36 _LIT8(KThemeVersion, "version"); |
|
37 _LIT8(KThemeDesc, "description"); |
|
38 _LIT8(KFileLogo, "filelogo"); |
|
39 _LIT8(KFilePreview, "filepreview"); |
|
40 _LIT8(KFileXML, "filexml"); |
|
41 _LIT8(KFileDTD, "filedtd"); |
|
42 _LIT8(KLocalized, "localization"); |
|
43 _LIT8(KFileResource, "fileresource"); |
|
44 _LIT8(KMultiInstance, "multiinstance"); |
|
45 |
|
46 // Options for KFamily |
|
47 _LIT8(KFamilyQvga, "qvga"); |
|
48 _LIT8(KFamilyQvga2, "qvga2"); |
|
49 _LIT8(KFamilyVga, "vga"); |
|
50 _LIT8(KFamilyVga3, "vga3"); |
|
51 _LIT8(KFamilyQhd, "qhd"); |
|
52 _LIT8(KFamilyQhd_tch, "qhd_tch"); |
|
53 _LIT8(KFamilyVga_tch, "vga_tch"); |
|
54 |
|
55 // Options for KConfigurationType |
|
56 _LIT8(KManifestTypeApp, "application"); |
|
57 _LIT8(KManifestTypeView, "view"); |
|
58 _LIT8(KManifestTypeWidget, "widget"); |
|
59 _LIT8(KManifestTypeTemplate, "template"); |
|
60 |
|
61 // Options for KThemeStatus |
|
62 _LIT8(KStatusNone, "statusnone"); |
|
63 _LIT8(KStatusLicenceeDefault, "statuslicenceedefault"); |
|
64 _LIT8(KStatusLicenceeRestorable, "statuslicenceerestorable"); |
|
65 _LIT8(KStatusOperatorDefault, "statusoperatordefault"); |
|
66 _LIT8(KStatusUserDefault, "statususerdefault"); |
|
67 _LIT8(KStatusMakeActive, "statusmakeactive"); |
|
68 _LIT8(KStatusLocked, "statuslocked"); |
|
69 |
|
70 // Additional values for KMulitiInstance |
|
71 _LIT8( KMultiInstanceUnlimited, "unlimited" ); |
|
72 _LIT8( KMultiInstanceHidden, "hidden" ); |
|
73 const TInt32 KMultiInstanceUnlimitedValue = -1; |
|
74 const TInt32 KMultiInstanceHiddenValue = 0; |
|
75 const TInt32 KMultiInstanceDefaultValue = 1; |
|
76 const TInt32 KMultiInstanceMinimumCountValue = 0; |
|
77 const TInt32 KMultiInstanceMaximumCountValue = 32767; |
|
78 |
|
79 |
|
80 |
|
81 // Attributes for KFileResource |
|
82 _LIT8(KMediaType, "mediatype"); |
|
83 _LIT8(KTag, "tag"); |
|
84 |
|
85 #endif /*HSPSMANIFEST_H_*/ |
|
86 |
|
87 // End of File |