phoneuis/Ussd/data/ussd.rss
changeset 0 5f000ab63145
equal deleted inserted replaced
-1:000000000000 0:5f000ab63145
       
     1 /*
       
     2 * Copyright (c) 2002-2005 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:  This file contains all the resources for the module.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 //  RESOURCE IDENTIFIER
       
    20 NAME    USSD // 4 letter ID
       
    21 
       
    22 //  INCLUDES
       
    23 #include <eikon.rh>
       
    24 #include "ussd.hrh"
       
    25 #include <ussd.loc>
       
    26 #include <avkon.rsg>
       
    27 #include <avkon.rh>
       
    28 #include <avkon.loc>
       
    29 
       
    30 #include <bldvariant.hrh> 
       
    31 #include <data_caging_paths_strings.hrh>
       
    32 #include <appinfo.rh>
       
    33 
       
    34 //  RESOURCE DEFINITIONS 
       
    35 
       
    36 //----------------------------------------------------
       
    37 //   
       
    38 //    
       
    39 //    RSS signature.
       
    40 //----------------------------------------------------
       
    41 //
       
    42 RESOURCE RSS_SIGNATURE { }
       
    43 
       
    44 
       
    45 //----------------------------------------------------
       
    46 //   
       
    47 //    
       
    48 //    Name of the buffer.
       
    49 //----------------------------------------------------
       
    50 //
       
    51 RESOURCE TBUF { buf = qtn_apps_ussd_grid; }
       
    52 
       
    53 
       
    54 //----------------------------------------------------
       
    55 //   
       
    56 //    
       
    57 //    Application information.
       
    58 //----------------------------------------------------
       
    59 //
       
    60 RESOURCE EIK_APP_INFO
       
    61     {
       
    62     menubar = r_ussd_menubar;
       
    63     cba = r_ussd_softkeys_options_exit_options;
       
    64 
       
    65     status_pane = r_status_pane;
       
    66     }
       
    67 
       
    68 RESOURCE LOCALISABLE_APP_INFO r_ussd_localisable_app_info
       
    69     {
       
    70     short_caption = qtn_apps_ussd_grid;
       
    71     caption_and_icon = 
       
    72         CAPTION_AND_ICON_INFO
       
    73         {
       
    74         caption = qtn_apps_ussd_list;
       
    75 #ifdef __SCALABLE_ICONS
       
    76         number_of_icons = 1;
       
    77         icon_file = "Z:"APP_RESOURCE_DIR"\\Ussd_aif.mif";
       
    78 #else
       
    79         number_of_icons = 2;
       
    80         icon_file = "Z:"APP_RESOURCE_DIR"\\Ussd_aif.mbm";
       
    81 #endif // __SCALABLE_ICONS
       
    82         };
       
    83     }
       
    84 
       
    85 
       
    86 //----------------------------------------------------
       
    87 //   
       
    88 //    r_ussd_menubar
       
    89 //    Empty menubar. With this edit menu will be generated.
       
    90 //----------------------------------------------------
       
    91 //
       
    92 RESOURCE MENU_BAR r_ussd_menubar
       
    93     {
       
    94     titles=
       
    95         {
       
    96         MENU_TITLE { menu_pane = r_ussd_menu; }
       
    97         };
       
    98     }
       
    99 
       
   100 
       
   101 //----------------------------------------------------
       
   102 //   
       
   103 //    r_ussd_menu
       
   104 //    Menu items
       
   105 //    
       
   106 //----------------------------------------------------
       
   107 //
       
   108 RESOURCE MENU_PANE r_ussd_menu
       
   109     {
       
   110     items=
       
   111         {
       
   112         MENU_ITEM { command = EUssdMenuItemSend; txt = qtn_ussd_editor_send; },
       
   113         MENU_ITEM { command = EAknCmdHelp; txt = qtn_options_help; },
       
   114         MENU_ITEM { command = EAknCmdExit; txt = qtn_options_exit; }
       
   115         };
       
   116     }
       
   117 
       
   118 //----------------------------------------------------
       
   119 //   
       
   120 //    r_ussd_softkeys_options_exit_send_options
       
   121 //    Softkeys for application when there is no text in editor
       
   122 //
       
   123 //----------------------------------------------------
       
   124 //
       
   125 RESOURCE CBA r_ussd_softkeys_options_exit_options
       
   126     {
       
   127     buttons =
       
   128         {
       
   129         CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option;},
       
   130         CBA_BUTTON { id = EAknSoftkeyExit; txt = text_softkey_exit; },
       
   131         CBA_BUTTON { id = EAknSoftkeyEmpty; txt = text_softkey_empty;}
       
   132         };
       
   133     }
       
   134 
       
   135 //----------------------------------------------------
       
   136 //   
       
   137 //    r_ussd_softkeys_send_exit
       
   138 //    Softkeys for application when there is some text in editor
       
   139 //
       
   140 //----------------------------------------------------
       
   141 //
       
   142 RESOURCE CBA r_ussd_softkeys_send_exit
       
   143     {
       
   144     buttons =
       
   145         {
       
   146         CBA_BUTTON { id = EUssdSoftkeySend; txt = text_softkey_send; },
       
   147         CBA_BUTTON { id = EAknSoftkeyExit; txt = text_softkey_exit; },
       
   148         CBA_BUTTON { id = EAknSoftkeyEmpty; txt = text_softkey_empty;}
       
   149         };
       
   150     }
       
   151 
       
   152 
       
   153 //----------------------------------------------------
       
   154 //   
       
   155 //    r_status_pane
       
   156 //    Application statuspane
       
   157 //    Context pane image is defined in AIF.
       
   158 //----------------------------------------------------
       
   159 //
       
   160 
       
   161 RESOURCE STATUS_PANE_APP_MODEL r_status_pane
       
   162     {
       
   163     panes =
       
   164         {
       
   165         SPANE_PANE
       
   166             {
       
   167             id = EEikStatusPaneUidTitle;
       
   168             type = EAknCtTitlePane;
       
   169             resource = r_overridden_app_editor_name;
       
   170             }
       
   171         };
       
   172     }
       
   173 
       
   174 
       
   175 // -----------------------------------------------------------------------------
       
   176 //   
       
   177 // r_overridden_app_editor_name
       
   178 // Title pane for r_status_pane.
       
   179 //
       
   180 // -----------------------------------------------------------------------------
       
   181 //
       
   182 RESOURCE TITLE_PANE r_overridden_app_editor_name
       
   183     {
       
   184     txt = qtn_ussd_header;
       
   185     }
       
   186 
       
   187 
       
   188 // -----------------------------------------------------------------------------
       
   189 //   
       
   190 // r_ussd_edwin_editor_elaf
       
   191 // The USSD editor in ELAF variant.
       
   192 //
       
   193 // -----------------------------------------------------------------------------
       
   194 //
       
   195 RESOURCE AVKON_CONFIG_EDWIN r_ussd_edwin_editor_elaf
       
   196     {
       
   197     editingSpace = 182;    // From LAF
       
   198     editingWindow = 8;     // From LAF
       
   199     characterCase = EAknEditorCharactersUpperCase;
       
   200     justification = EAknEditorAlignLeft;
       
   201     allowedToMoveInsertionPoint = 1;   // From LAF
       
   202     cursorYesNo = 1;                   // From LAF
       
   203     overflowYesNo = 0;                 // From LAF
       
   204     }
       
   205 
       
   206 
       
   207 // -----------------------------------------------------------------------------
       
   208 //   
       
   209 // r_ussd_edwin_editor_apac
       
   210 // The USSD editor in APAC variant.
       
   211 //
       
   212 // -----------------------------------------------------------------------------
       
   213 //
       
   214 RESOURCE AVKON_CONFIG_EDWIN r_ussd_edwin_editor_apac
       
   215     {
       
   216     editingSpace = 182;    // From LAF
       
   217     editingWindow = 7;     // From LAF
       
   218     characterCase = EAknEditorCharactersUpperCase;
       
   219     justification = EAknEditorAlignLeft;
       
   220     allowedToMoveInsertionPoint = 1;   // From LAF
       
   221     cursorYesNo = 1;                   // From LAF
       
   222     overflowYesNo = 0;                 // From LAF
       
   223     }
       
   224 
       
   225 
       
   226             
       
   227 // End of File