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