phoneapp/phoneuiutils/inc/telprivatecrkeys.h
changeset 0 5f000ab63145
equal deleted inserted replaced
-1:000000000000 0:5f000ab63145
       
     1 /*
       
     2 * Copyright (c) 2004-2006 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:  Telephony private Central Repository keys
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef TELEPHONYPRIVATECRKEYS_H
       
    20 #define TELEPHONYPRIVATECRKEYS_H
       
    21 
       
    22 #include <e32std.h>
       
    23 
       
    24 /******************************************************************************
       
    25 * Telephony Private Variation API
       
    26 * Keys under this category are used in defining telephony private variation.
       
    27 ******************************************************************************/
       
    28 const TUid KCRUidTelPrivateVariation = {0x102828B2}; 
       
    29  
       
    30 /**
       
    31 * Set of applications by UID that are closed when end key is pressed. Can 
       
    32 * be list of UIDs or UID ranges (<uid1>-<uid2>) or combination of both or 
       
    33 * all apps (i.e. '*'). UIDs are hexadecimal e.g. "10005951". Elements are 
       
    34 * separated with space. Supports also closing any app when memory is low.
       
    35 * This is marked with "OOM" token.
       
    36 */
       
    37 const TUint32 KTelAppsCloseList                             = 0x00000001; 
       
    38 
       
    39 /**
       
    40 * Set of applications by UID  that should NOT be closed when end key is 
       
    41 * pressed. Same format as in KTelAppsCloseList but OOM token is not 
       
    42 * applicable.
       
    43 */
       
    44 const TUint32 KTelAppsKeepList                              = 0x00000002;
       
    45 
       
    46 /**
       
    47 * Application UID for long '0' key press. By default value is 0x10008D39 
       
    48 * which is web browser UID. Products can set this to some other to 
       
    49 * launch different applications. Note if you change this remember to change
       
    50 * KTelAppLaunchParam.
       
    51 */
       
    52 const TUint32 KTelAppLaunch                                 = 0x00000003; 
       
    53 
       
    54 /**
       
    55 * Param which is passed to application which is launched using long '0' 
       
    56 * key press. By default value is '5' which is special value for web 
       
    57 * browser and max lenght is 10 characters.Note if you change KTelAppLaunch
       
    58 * you will need to change this too.
       
    59 */
       
    60 const TUint32 KTelAppLaunchParam                            = 0x00000004; 
       
    61 
       
    62 /**
       
    63 * The ascii code of a button that is specified to launch an application
       
    64 * defined in KTelButton1AppUID. This key is of type Int.
       
    65 */
       
    66 const TUint32 KTelButton1                                   = 0x00FF0101; 
       
    67 
       
    68 /**
       
    69 * The UID of application to be launched on a press of a button defined 
       
    70 * in KTelButton1. This key is of type Int.
       
    71 */
       
    72 const TUint32 KTelButton1AppUID                             = 0x00FF0102;
       
    73 
       
    74 /**
       
    75 * A optional parameter to be passed to the application defined in
       
    76 * KTelButton1AppUID. This key is of type String.
       
    77 */
       
    78 const TUint32 KTelButton1AppParam                           = 0x00FF0103;
       
    79 
       
    80 /**
       
    81 * The ascii code of a button that is specified to launch an application
       
    82 * defined in KTelButton2AppUID. This key is of type Int.
       
    83 */
       
    84 const TUint32 KTelButton2                                   = 0x00FF0201;
       
    85 
       
    86 /**
       
    87 * The UID of application to be launched on a press of a button defined 
       
    88 * in KTelButton2. This key is of type Int.
       
    89 */
       
    90 const TUint32 KTelButton2AppUID                             = 0x00FF0202;
       
    91 
       
    92 /**
       
    93 * A optional parameter to be passed to the application defined in
       
    94 * KTelButton2AppUID. This key is of type String.
       
    95 */
       
    96 const TUint32 KTelButton2AppParam                           = 0x00FF0203;
       
    97 
       
    98 /**
       
    99 * The ascii code of a button that is specified to launch an application
       
   100 * defined in KTelButton3AppUID. This key is of type Int.
       
   101 */
       
   102 const TUint32 KTelButton3                                   = 0x00FF0301;
       
   103 
       
   104 /**
       
   105 * The UID of application to be launched on a press of a button defined 
       
   106 * in KTelButton3. This key is of type Int.
       
   107 */
       
   108 const TUint32 KTelButton3AppUID                             = 0x00FF0302;
       
   109 
       
   110 /**
       
   111 * A optional parameter to be passed to the application defined in
       
   112 * KTelButton3AppUID. This key is of type String.
       
   113 */
       
   114 const TUint32 KTelButton3AppParam                           = 0x00FF0303;
       
   115 
       
   116 #endif      // TELEPHONYPRIVATECRKEYS_H
       
   117 
       
   118 // End of file