|
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: |
|
15 * |
|
16 */ |
|
17 #ifndef HSPSXMLELEMENTS_H_ |
|
18 #define HSPSXMLELEMENTS_H_ |
|
19 |
|
20 // Xmluiml element |
|
21 _LIT8( KXmlUimlElement, "xmluiml" ); // Root element |
|
22 _LIT8( KXmlUimlAttrXmlns, "xmlns"); // Not required |
|
23 |
|
24 //common elements |
|
25 _LIT8( KAttrId, "id" ); |
|
26 _LIT8( KAttrName, "name" ); |
|
27 |
|
28 // Configuration element |
|
29 _LIT8( KConfigurationElement, "configuration" ); |
|
30 _LIT8( KConfigurationAttrId, "id" ); // Unique for this configuration |
|
31 _LIT8( KConfigurationAttrType, "type" ); // root/view/widget |
|
32 _LIT8( KConfigurationAttrInterface, "interface" ); // AI3/? |
|
33 _LIT8( KConfigurationAttrUid, "uid" ); // Globally unique uid, identifies specific configuration |
|
34 _LIT8( KConfigurationAttrName, "name" ); |
|
35 _LIT8( KConfigurationAttrState, "state" ); |
|
36 _LIT8( KConfigurationAttrMaxChild, "max_child" ); |
|
37 _LIT8( KConfigurationAttrMultiInstance, "multiinstance" ); // Multiinstance flag |
|
38 _LIT8( KConfigurationAttrDescription, "desc" ); // Widget's description |
|
39 _LIT8( KConfigurationAttrLockingStatus, "locking_status" ); // Locking status |
|
40 |
|
41 // Configuration element state attribute values |
|
42 _LIT8( KConfStateNotConfirmed, "NotConfirmed" ); // Not confirmed state |
|
43 _LIT8( KConfStateWaitForConfirmation, "WaitForConfirmation" );// Wait for confirmation state |
|
44 _LIT8( KConfStateConfirmed, "Confirmed" ); // Confirmed state |
|
45 _LIT8( KConfStateError, "Error" ); // Error state |
|
46 |
|
47 // Control element |
|
48 _LIT8( KControlElement, "control" ); |
|
49 _LIT8( KControlAttrName, "name" ); // Localized name of the configuration |
|
50 |
|
51 // Plugins element |
|
52 _LIT8( KPluginsElement, "plugins" ); |
|
53 |
|
54 // Plugin element |
|
55 _LIT8( KPluginElement, "plugin" ); |
|
56 _LIT8( KPluginAttrId, "id" ); // Unique for this configuration |
|
57 _LIT8( KPluginAttrUid, "uid" ); // Globally unique uid, identifies specific configuration |
|
58 _LIT8( KPluginAttrInterface, "interface" ); // AI3/? |
|
59 _LIT8( KPluginAttrName, "name" ); // Localized name of the plugin |
|
60 _LIT8( KPluginAttrActive, "active" ); // Plugin activation state |
|
61 |
|
62 // Settings element |
|
63 _LIT8( KSettingsElement, "settings" ); |
|
64 _LIT8( KSettingsAttrId, "id" ); // Identifies the personalized plugin |
|
65 |
|
66 // Item |
|
67 _LIT8( KItemElement, "item" ); // |
|
68 _LIT8( KItemAttrId, "id" ); // Name of the attributes container |
|
69 _LIT8( KItemAttrName, "name" ); // Localized name |
|
70 |
|
71 // Attribute |
|
72 _LIT8( KAttributeElement, "attribute" ); |
|
73 _LIT8( KAttributeAttrKey, "key" ); // References personalized property |
|
74 _LIT8( KAttributeAttrName, "name" ); // Localized key value |
|
75 |
|
76 // Property |
|
77 _LIT8( KPropertyElement, "property" ); |
|
78 _LIT8( KPropertyAttrName, "name" ); // Property name |
|
79 _LIT8( KPropertyAttrValue, "value" ); // Property value |
|
80 |
|
81 // Resources |
|
82 _LIT8( KResourcesElement, "resources" ); |
|
83 |
|
84 // Object |
|
85 _LIT8( KObjectElement, "object" ); |
|
86 _LIT8( KObjectAttrFilename, "filename" ); |
|
87 _LIT8( KObjectAttrName, "name" ); |
|
88 _LIT8( KObjectAttrPath, "path" ); |
|
89 _LIT8( KObjectAttrMediatype, "mediatype" ); |
|
90 _LIT8( KObjectAttrTag, "tag" ); |
|
91 _LIT8( KObjectAttrType, "type" ); |
|
92 |
|
93 // Tag values |
|
94 _LIT8( KObjectAttrTagLogo, "logo"); |
|
95 _LIT8( KObjectAttrTagPreview, "preview"); |
|
96 #endif /*HSPSXMLELEMENTS_H_*/ |