customization/isadapter/inc/IsAdapterLiterals.h
changeset 0 3ce708148e4d
equal deleted inserted replaced
-1:000000000000 0:3ce708148e4d
       
     1 /*
       
     2 * Copyright (c) 2002 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:  DM Idle SoftKey Adapter
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __IsAdapterLiterals_H__
       
    20 #define __IsAdapterLiterals_H__
       
    21 
       
    22 // the DDF version must be changed if any changes in DDF structure ( built in DDFStructureL() function )
       
    23 _LIT8( KNSmlISDDFVersion, "1.0" ); 
       
    24 _LIT8( KMimeTypeImageMbm, "image/x-epoc-mbm");
       
    25 _LIT8( KNSmlISTextPlain, "text/plain" );
       
    26 _LIT8( KNSmlISNodeName, "Apps" );
       
    27 _LIT8( KNSmlISDynamicNode, "" );
       
    28 _LIT8( KNSmlISSeparator, "/" );
       
    29 
       
    30 //
       
    31 // Customization, IdleSoftkeys, Softkeys, Targets, WebTargets
       
    32 //
       
    33 _LIT8( KPrefixSoftkeyNodeName,       "Softkey" );
       
    34 _LIT8( KFormatSoftkeyNodeName,       "Softkey%d" );
       
    35 _LIT8( KPrefixTargetNodeName,        "Target" );
       
    36 _LIT8( KFormatTargetNodeName,        "Target%d" );
       
    37 _LIT8( KPrefixAppTargetNodeName,     "AppTarget" );
       
    38 _LIT8( KFormatAppTargetNodeName,     "AppTarget%d" );
       
    39 _LIT8( KPrefixEditorTargetNodeName,  "EditorTarget" );
       
    40 _LIT8( KFormatEditorTargetNodeName,  "EditorTarget%d" );
       
    41 _LIT8( KPrefixSpecialTargetNodeName, "OtherTarget" );
       
    42 _LIT8( KFormatSpecialTargetNodeName, "OtherTarget%d" );
       
    43 _LIT8( KPrefixWebTargetURI,          "Customization/IdleSoftkeys/WebTargets/" );
       
    44 _LIT8( KPrefixWebTargetNodeName,     "WebTarget" );
       
    45 _LIT8( KFormatWebTargetNodeName,     "WebTarget%d" );
       
    46 
       
    47 _LIT8( KISLeftSoftkeyName,          "Left softkey" );
       
    48 _LIT8( KISRightSoftkeyName,         "Right softkey" );
       
    49 _LIT8( KISScrollLeftSoftkeyName,    "Left arrow softkey" );
       
    50 _LIT8( KISScrollRightSoftkeyName,   "Right arrow softkey" );
       
    51 _LIT8( KISScrollUpSoftkeyName,      "Up arrow softkey" );
       
    52 _LIT8( KISScrollDownSoftkeyName,    "Down arrow softkey" );
       
    53 _LIT8( KISSelectionSoftkeyName,     "Selection softkey" );
       
    54 _LIT8( KISAISoftkeyName1,           "Active Idle softkey 1" );
       
    55 _LIT8( KISAISoftkeyName2,           "Active Idle softkey 2" );
       
    56 _LIT8( KISAISoftkeyName3,           "Active Idle softkey 3" );
       
    57 _LIT8( KISAISoftkeyName4,           "Active Idle softkey 4" );
       
    58 _LIT8( KISAISoftkeyName5,           "Active Idle softkey 5" );
       
    59 _LIT8( KISAISoftkeyName6,           "Active Idle softkey 6" );
       
    60 
       
    61 _LIT8( KNSmlCustomizationNodeName,  "Customization" );
       
    62 _LIT8( KNSmlIS_IdleSoftKeyNodeName, "IdleSoftkeys" );
       
    63 _LIT8( KNSmlIS_SoftKeysNodeName,    "SoftKeys" );
       
    64 _LIT8( KNSmlIS_TargetsNodeName,     "Targets" );
       
    65 _LIT8( KNSmlIS_WebTargetsNodeName,  "WebTargets" );
       
    66 
       
    67 _LIT8( KNSmlISDescription, "The interior object holds all idle softkey objects" );
       
    68 _LIT8( KNSmlISIdleSoftKeyNodeDescription, "Holds all idle softkey customization nodes");
       
    69 _LIT8( KNSmlISSoftkeysNodeDescription, "Holds all softkeys objects in idle softkey customization");
       
    70 _LIT8( KNSmlISTargetsNodeDescription, "Holds all targets objects in idle softkey customization");
       
    71 _LIT8( KNSmlISWebTargetsNodeDescription, "Holds all web targets objects in idle softkey customization");
       
    72 _LIT8( KNSmlISSoftkeysXNodeDescription, "Holds all softkey information in a web targets object");
       
    73 _LIT8( KNSmlISTargetsXNodeDescription, "Holds all target information in a web targets object");
       
    74 _LIT8( KNSmlISWebTargetsXNodeDescription, "Holds all web target information in a web targets object");
       
    75 
       
    76 // Softkeys/X/*
       
    77 _LIT8( KNSmlIS_SoftkeysIDNodeName,        "ID" );
       
    78 _LIT8( KNSmlIS_SoftkeysTargetRefNodeName, "TargetRef" );
       
    79 #ifdef IDLESOFTKEY_ADAPTER_SOFTKEY_IMAGES
       
    80 _LIT8( KNSmlIS_SoftkeysImageNoneName,     "Image" );
       
    81 #ifdef IDLESOFTKEY_ADAPTER_IMAGEMASK
       
    82 _LIT8( KNSmlIS_SoftkeysMaskNodeName,      "Mask" );
       
    83 #endif
       
    84 #endif
       
    85 
       
    86 _LIT8( KNSmlIS_SoftkeysIDDescription,        "This object holds id of a Softkeys node" );
       
    87 _LIT8( KNSmlIS_SoftkeysTargetRefDescription, "This object holds target reference of a Softkeys node" );
       
    88 #ifdef IDLESOFTKEY_ADAPTER_SOFTKEY_IMAGES
       
    89 _LIT8( KNSmlIS_SoftkeysImageDescription,     "This object holds image mask of a Softkeys node" );
       
    90 #ifdef IDLESOFTKEY_ADAPTER_IMAGEMASK
       
    91 _LIT8( KNSmlIS_SoftkeysMaskDescription,      "This object holds image mask of a Softkeys node" );
       
    92 #endif
       
    93 #endif
       
    94 
       
    95 // Targets/X/*
       
    96 _LIT8( KNSmlIS_TargetsIDNodeName,          "ID" );
       
    97 _LIT8( KNSmlIS_TargetsDescriptionNodeName, "Description" );
       
    98 _LIT8( KNSmlIS_TargetsCaptionName,         "Caption" );
       
    99 #ifndef IDLESOFTKEY_ADAPTER_SOFTKEY_IMAGES
       
   100 _LIT8( KNSmlIS_TargetsImageNodeName,       "Image" );
       
   101 #ifdef IDLESOFTKEY_ADAPTER_IMAGEMASK
       
   102 _LIT8( KNSmlIS_TargetsMaskNodeName,        "Mask" );
       
   103 #endif
       
   104 #endif
       
   105 
       
   106 _LIT8( KNSmlIS_TargetsIDDescription,          "This object holds id of a Targets node" );
       
   107 _LIT8( KNSmlIS_TargetsDescriptionDescription, "This object holds description of a Targets node" );
       
   108 _LIT8( KNSmlIS_TargetsCaptionDescription,     "This object holds caption of a Targets node" );
       
   109 #ifndef IDLESOFTKEY_ADAPTER_SOFTKEY_IMAGES
       
   110 _LIT8( KNSmlIS_TargetsImageDescription,       "This object holds image of a Targets node" );
       
   111 #ifdef IDLESOFTKEY_ADAPTER_IMAGEMASK
       
   112 _LIT8( KNSmlIS_TargetsMaskDescription,        "This object holds image mask of a Targets node" );
       
   113 #endif
       
   114 #endif
       
   115 
       
   116 // WebTargets/X/*
       
   117 _LIT8( KNSmlIS_WebTargetsIDNodeName,          "ID" );
       
   118 _LIT8( KNSmlIS_WebTargetsDescriptionNodeName, "Description" );
       
   119 _LIT8( KNSmlIS_WebTargetsURLNodeName,         "URL" );
       
   120 _LIT8( KNSmlIS_WebTargetsUserNameNodeName,    "UserName" );
       
   121 _LIT8( KNSmlIS_WebTargetsPasswordNodeName,    "Password" );
       
   122 _LIT8( KNSmlIS_WebTargetsConRefNodeName,      "ConRef" );
       
   123 _LIT8( KNSmlIS_WebTargetsCaptionNodeName,     "Caption" );
       
   124 #ifndef IDLESOFTKEY_ADAPTER_SOFTKEY_IMAGES
       
   125 _LIT8( KNSmlIS_WebTargetsImageNodeName,       "Image" );
       
   126 #ifdef IDLESOFTKEY_ADAPTER_IMAGEMASK
       
   127 _LIT8( KNSmlIS_WebTargetsMaskNodeName,        "Mask" );
       
   128 #endif
       
   129 #endif
       
   130 
       
   131 _LIT8( KNSmlIS_WebTargetsIDDescription,          "This object holds id of a WebTargets node" );
       
   132 _LIT8( KNSmlIS_WebTargetsDescriptionDescription, "This object holds description of a WebTargets node" );
       
   133 _LIT8( KNSmlIS_WebTargetsURLDescription,         "This object holds URL of a WebTargets node" );
       
   134 _LIT8( KNSmlIS_WebTargetsUserNameDescription,    "This object holds user name of a WebTargets node" );
       
   135 _LIT8( KNSmlIS_WebTargetsPasswordDescription,    "This object holds password of a WebTargets node" );
       
   136 _LIT8( KNSmlIS_WebTargetsConRefDescription,      "This object holds connection reference of a WebTargets node" );
       
   137 _LIT8( KNSmlIS_WebTargetsCaptionDescription,     "This object holds caption of a WebTargets node" );
       
   138 #ifndef IDLESOFTKEY_ADAPTER_SOFTKEY_IMAGES
       
   139 _LIT8( KNSmlIS_WebTargetsImageDescription,       "This object holds image of a WebTargets node" );
       
   140 #ifdef IDLESOFTKEY_ADAPTER_IMAGEMASK
       
   141 _LIT8( KNSmlIS_WebTargetsMaskDescription,        "This object holds image mask of a WebTargets node" );
       
   142 #endif
       
   143 #endif
       
   144 
       
   145 
       
   146 // Used by UiSettingsUtil
       
   147 
       
   148 	_LIT(KNewMsg,"localapp:0x100058C5?new=msg");
       
   149 	_LIT(KNewEmail,"localapp:0x100058C5?new=email");
       
   150 	_LIT(KNewSyncMLMail,"localapp:0x100058C5?new=syncmlmail");
       
   151 	_LIT(KNewMMS,"localapp:0x100058C5?new=postcard");
       
   152 	_LIT(KNewAudioMsg,"localapp:0x100058C5?new=audiomsg");
       
   153 	_LIT(KNewMsgType,"localapp:0x100058C5?new");
       
   154 	_LIT(KChangeTheme,"localapp:0x10005A32?view=0x102750A7");
       
   155 	
       
   156 	_LIT(KNewMsgCaption,"New Message");
       
   157 	_LIT(KNewEmailCaption,"New Email");
       
   158 	_LIT(KNewSyncMLMailCaption,"New Syncml Mail");
       
   159 	_LIT(KNewMMSCaption,"New Postcard");
       
   160 	_LIT(KNewAudioMsgCaption,"New Audio Message");
       
   161 	_LIT(KNewMsgTypeCaption,"Select Message Type");
       
   162 	_LIT(KChangeThemeCaption,"Change Idle Theme");
       
   163 	
       
   164 	   	
       
   165 
       
   166 	_LIT16(KFormat,"%x");
       
   167 	_LIT(KAppText,"localapp:0x");
       
   168     _LIT(KMailBoxText,"localapp:0x100058C5?mailbox=");
       
   169     _LIT(KBookmarkText,"localapp:0x102750FB?bkm=0x");
       
   170     
       
   171 
       
   172 #endif //__IsAdapterLiterals_H__