18 |
18 |
19 #ifndef __WMCRKEYS_H__ |
19 #ifndef __WMCRKEYS_H__ |
20 #define __WMCRKEYS_H__ |
20 #define __WMCRKEYS_H__ |
21 |
21 |
22 // WidgetManager CR key |
22 // WidgetManager CR key |
23 const TUint32 KCrWidgetManager = 0x20026F53; |
23 const TUint32 KCrWidgetManagerm = 0x20026F53; |
24 |
24 |
25 // ************************************************************ |
|
26 // NON-LOCALISED parameters |
|
27 // ************************************************************ |
|
28 |
25 |
29 /** */ |
|
30 const TUint32 KOviStoreEnabled = 0x1; |
|
31 |
|
32 /** */ |
|
33 const TUint32 KOviOrder = 0x2; |
|
34 |
|
35 /** */ |
|
36 const TUint32 KOviUid = 0x3; |
|
37 |
|
38 /** */ |
|
39 const TUint32 KOviAppParam = 0x4; |
|
40 |
|
41 /** */ |
|
42 const TUint32 KStoreEnabled = 0x5; |
|
43 |
|
44 /** */ |
|
45 const TUint32 KOrder = 0x6; |
|
46 |
26 |
47 // ************************************************************ |
27 // ************************************************************ |
48 // LOCALISED parameters start here |
28 // LOCALISED parameters start here |
49 // KLangId_0 0x7 |
29 // Key Id's from 0x1 to 0x1E are reserved for languages. |
50 // KUrl_0 0x8 |
30 // LangId_0 0x1 |
51 // KTitle_0 0x9 |
31 // OperatorUrl_0 0x2 |
|
32 // OperatorButtonText_0 0x3 |
52 // ... |
33 // ... |
53 // KLangId_1 0xA |
34 // LangId_1 0x4 |
54 // ... |
35 // ... |
55 // KLangId_9 0x22 |
36 // LangId_9 0x1C |
56 // KUrl_9 0x23 |
37 // OperatorUrl_9 0x1D |
57 // KTitle_9 0x24 |
38 // OperatorButtonText_9 0x1E |
58 // ************************************************************ |
39 // ************************************************************ |
59 |
40 |
60 /** localised set #0, language ID */ |
41 /** localised set #0, language ID */ |
61 const TUint32 KLangId_0 = 0x7; |
42 const TUint32 KLangId0 = 0x1; |
62 /** localised set #0, store URL */ |
43 /** localised set #0, Operator button URL */ |
63 const TUint32 KUrl_0 = 0x8; |
44 const TUint32 KOperatorButtonUrl0 = 0x2; |
64 /** localised set #0, store text */ |
45 /** localised set #0, Operator button text */ |
65 const TUint32 KTitle_0 = 0x9; |
46 const TUint32 KOperatorButtonText0 = 0x3; |
66 |
47 |
67 /** localised set #1, language ID */ |
48 /** localised set #1, language ID */ |
68 const TUint32 KLangId_1 = 0xA; |
49 const TUint32 KLangId1 = 0x4; |
69 |
50 |
70 /** localised set #9, language ID */ |
51 /** localised set #9, language ID */ |
71 const TUint32 KLangId_9 = 0x22; |
52 const TUint32 KLangId9 = 0x1C; |
|
53 |
72 |
54 |
73 // ************************************************************ |
55 // ************************************************************ |
74 // NON-LOCALISED parameters |
56 // NON-LOCALISED OVI parameters |
75 // ************************************************************ |
57 // ************************************************************ |
76 |
58 |
|
59 /** Key to Ovi Store Client param */ |
|
60 const TUint32 KOviStoreClientParam = 0x1F; |
|
61 |
|
62 /** Key to Ovi Store client Uid */ |
|
63 const TUint32 KOviStoreUid = 0x20; |
|
64 |
|
65 // ************************************************************ |
|
66 // NON-LOCALISED Operator parameters |
|
67 // ************************************************************ |
|
68 |
|
69 /** Key to Operator button icon */ |
|
70 const TUint32 KOperatorButtonEnabled = 0x21; |
|
71 |
|
72 /** Key to Operator button icon */ |
|
73 const TUint32 KOperatorButtonIcon = 0x22; |
|
74 |
77 /** |
75 /** |
78 * Key to Store application type and id. |
76 * Key to Operator application type and id. |
79 * Give ':' as separator between type and id. |
77 * Give ':' as separator between type and id. |
80 * Type can be s60, cwrt, wrt, java, qt |
78 * Type can be s60, cwrt, wrt, java, qt |
81 * Examples: |
79 * Examples: |
82 * s60:0x10005902 Application Uid as id |
80 * s60:0x10005902 Application Uid as id |
83 * cwrt:ovi.serviceui.SSOUI BundleId as id |
81 * cwrt:ovi.serviceui.SSOUI BundleId as id |
84 * wrt:com.accuweather.widget.touchNG BundleId as id |
82 * wrt:com.accuweather.widget.touchNG BundleId as id |
85 * java:c:/sys/bin/javastore.jar full path for java app |
83 * java:c:/sys/bin/javastore.jar full path for java app |
86 * qt:0x2001A9CA Application Uid as id |
84 * qt:0x2001A9CA Application Uid as id |
87 */ |
85 */ |
88 const TUint32 KAppTypeAndId = 0x25; |
86 const TUint32 KOperatorAppTypeAndId = 0x23; |
89 |
87 |
90 /** */ |
88 /** Key to Operator application param */ |
91 const TUint32 KAppParam = 0x26; |
89 const TUint32 KOperatorParam = 0x24; |
92 |
90 |
93 /** Key to Store icon */ |
91 /** |
94 const TUint32 KIcon = 0x27; |
92 * Key to define if operator button needs to be placed to left in landscape and |
|
93 * top on portraid. By default it's right and bottom. |
|
94 */ |
|
95 const TUint32 KOperatorButtonHigherPriority = 0x25; |
95 |
96 |
96 |
97 |
97 #endif // __WMCRKEYS_H__ |
98 #endif // __WMCRKEYS_H__ |