idlehomescreen/widgetmanager/inc/wmcrkeys.h
branchRCL_3
changeset 83 5456b4e8b3a8
child 93 b01126ce0bec
equal deleted inserted replaced
82:5f0182e07bfb 83:5456b4e8b3a8
       
     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 
       
    18 
       
    19 #ifndef __WMCRKEYS_H__
       
    20 #define __WMCRKEYS_H__
       
    21 
       
    22 // WidgetManager CR key
       
    23 const TUint32 KCrWidgetManagerm = 0x20026F53;
       
    24 
       
    25 
       
    26 
       
    27 // ************************************************************
       
    28 // LOCALISED parameters start here
       
    29 // Key Id's from 0x1 to 0x1E are reserved for languages.
       
    30 // LangId_0                 0x1
       
    31 // OperatorUrl_0            0x2
       
    32 // OperatorButtonText_0     0x3
       
    33 // ...
       
    34 // LangId_1                 0x4
       
    35 // ...
       
    36 // LangId_9                 0x1C
       
    37 // OperatorUrl_9            0x1D
       
    38 // OperatorButtonText_9     0x1E 
       
    39 // ************************************************************
       
    40 
       
    41 /** localised set #0, language ID */
       
    42 const TUint32 KLangId0 = 0x1;
       
    43 /** localised set #0, Operator button URL */
       
    44 const TUint32 KOperatorButtonUrl0 = 0x2;
       
    45 /** localised set #0, Operator button text */
       
    46 const TUint32 KOperatorButtonText0 = 0x3;
       
    47 
       
    48 /** localised set #1, language ID */
       
    49 const TUint32 KLangId1 = 0x4;
       
    50 
       
    51 /** localised set #9, language ID */
       
    52 const TUint32 KLangId9 = 0x1C;
       
    53 
       
    54 
       
    55 // ************************************************************
       
    56 // NON-LOCALISED OVI parameters
       
    57 // ************************************************************
       
    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 
       
    75 /** 
       
    76  * Key to Operator application type and id.
       
    77  * Give ':' as separator between type and id.
       
    78  * Type can be s60, cwrt, wrt, java, qt
       
    79  * Examples:
       
    80  * s60:0x10005902                           Application Uid as id
       
    81  * cwrt:ovi.serviceui.SSOUI                 BundleId as id
       
    82  * wrt:com.accuweather.widget.touchNG       BundleId as id
       
    83  * java:c:/sys/bin/javastore.jar            full path for java app
       
    84  * qt:0x2001A9CA                            Application Uid as id
       
    85  */
       
    86 const TUint32 KOperatorAppTypeAndId = 0x23;
       
    87 
       
    88 /** Key to Operator application param */
       
    89 const TUint32 KOperatorParam = 0x24;
       
    90 
       
    91 /** 
       
    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;
       
    96 
       
    97 
       
    98 #endif // __WMCRKEYS_H__