uifw/AvKon/tsrc/bc/bctesttemplate/group/bctesttemplate.rss
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     1 /*
       
     2 * Copyright (c) 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:  resources for the module
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 //  RESOURCE IDENTIFIER
       
    20 NAME TEMP
       
    21 
       
    22 //  INCLUDES
       
    23 
       
    24 #include <eikon.rh>
       
    25 #include <eikon.rsg>
       
    26 #include <avkon.hrh>
       
    27 #include <avkon.mbg>
       
    28 #include <avkon.rsg>
       
    29 #include <avkon.rh>
       
    30 #include <avkonicons.hrh>
       
    31 
       
    32 #include <appinfo.rh>
       
    33 
       
    34 #include "BCTesttemplate.hrh"
       
    35 #include "BCTesttemplate.loc"
       
    36 
       
    37 //  CONSTANTS
       
    38 #define APP_BITMAP_DIR "\\resource\\apps"
       
    39 #define AVKON_BMP_FILENAME AVKON_ICON_FILE
       
    40 #define bctesttemplate_BMP_FNAME APP_BITMAP_DIR"\\BCTestTemplate.mbm"
       
    41 
       
    42 
       
    43 //  MACROS
       
    44 
       
    45 
       
    46 
       
    47 //  RESOURCE DEFINITIONS
       
    48 //-----------------------------------------------------------------------------
       
    49 //
       
    50 //    RSS_SIGNATURE
       
    51 //
       
    52 //
       
    53 //-----------------------------------------------------------------------------
       
    54 //
       
    55 RESOURCE RSS_SIGNATURE
       
    56     {
       
    57     }
       
    58 
       
    59 //-----------------------------------------------------------------------------
       
    60 //
       
    61 //    TBUF16
       
    62 //
       
    63 //
       
    64 //-----------------------------------------------------------------------------
       
    65 //
       
    66 RESOURCE TBUF16
       
    67     {
       
    68     buf = "BCTestTemplate";
       
    69     }
       
    70 
       
    71 //-----------------------------------------------------------------------------
       
    72 //
       
    73 //    EIK_APP_INFO
       
    74 //
       
    75 //
       
    76 //-----------------------------------------------------------------------------
       
    77 //
       
    78 RESOURCE EIK_APP_INFO
       
    79     {
       
    80     menubar = r_bctesttemplate_menubar_main;
       
    81     cba = r_bctesttemplate_cba_options_next;
       
    82     }
       
    83 
       
    84 // ---------------------------------------------------------
       
    85 //    Provide Caption and Icon Info for Scalable UI
       
    86 //
       
    87 // ---------------------------------------------------------
       
    88 //
       
    89 RESOURCE LOCALISABLE_APP_INFO r_bctesttemplate_localisable_app_info
       
    90     {
       
    91     short_caption = qtn_apps_tavl_grid; 
       
    92 
       
    93     caption_and_icon = 
       
    94     CAPTION_AND_ICON_INFO
       
    95         {
       
    96         caption = qtn_apps_tavl_list; 
       
    97         //number_of_icons = 2;
       
    98         //icon_file = APP_BITMAP_DIR"\\BCTesttemplate_aif.mbm";
       
    99         };
       
   100     }
       
   101     
       
   102 //-----------------------------------------------------------------------------
       
   103 //
       
   104 //    r_bctesttemplate_view
       
   105 //    AVKON_VIEW for CBCTestTemplateView
       
   106 //
       
   107 //-----------------------------------------------------------------------------
       
   108 //
       
   109 RESOURCE AVKON_VIEW r_bctesttemplate_view
       
   110     {
       
   111     menubar = r_bctesttemplate_menubar_main;
       
   112     }
       
   113 
       
   114 //-----------------------------------------------------------------------------
       
   115 //
       
   116 //    r_bctesttemplate_menubar
       
   117 //    MenuBar
       
   118 //
       
   119 //-----------------------------------------------------------------------------
       
   120 //
       
   121 RESOURCE MENU_BAR r_bctesttemplate_menubar_main
       
   122     {
       
   123     titles =
       
   124         {
       
   125         MENU_TITLE
       
   126             {
       
   127             menu_pane = r_bctesttemplate_menu;            
       
   128             },
       
   129         MENU_TITLE
       
   130             {
       
   131             menu_pane = r_bctesttemplate_case_menu;
       
   132             }
       
   133         };
       
   134     }
       
   135 
       
   136 //-----------------------------------------------------------------------------
       
   137 //
       
   138 //    r_bctesttemplate_case_menu
       
   139 //    Menu pane
       
   140 //
       
   141 //-----------------------------------------------------------------------------
       
   142 //
       
   143 RESOURCE MENU_PANE r_bctesttemplate_case_menu
       
   144     {
       
   145     items = 
       
   146         {
       
   147         MENU_ITEM
       
   148             {
       
   149             command = EBCTestCmdOutline1;
       
   150             txt = qtn_bctesttemplate_outline1;
       
   151             }
       
   152         };
       
   153     }
       
   154 
       
   155 //-----------------------------------------------------------------------------
       
   156 //
       
   157 //    r_bctesttemplate_menu
       
   158 //    Menu pane
       
   159 //
       
   160 //-----------------------------------------------------------------------------
       
   161 //
       
   162 RESOURCE MENU_PANE r_bctesttemplate_menu
       
   163     {
       
   164     items =
       
   165         {
       
   166         MENU_ITEM
       
   167             {
       
   168             command = EProgCmdAutoTest;
       
   169             txt = qtn_bctesttemplate_autotest;
       
   170             },
       
   171         MENU_ITEM // Menu "Exit"
       
   172             {
       
   173             command = EAknCmdExit;
       
   174             txt = qtn_bctesttemplate_menu_exit;
       
   175             }
       
   176         };
       
   177     }
       
   178 
       
   179 // ----------------------------------------------------------------------------
       
   180 //
       
   181 //    r_bctesttemplate_cba_options_next
       
   182 //    ?description
       
   183 //
       
   184 // ----------------------------------------------------------------------------
       
   185 //
       
   186 
       
   187 RESOURCE CBA r_bctesttemplate_cba_options_next
       
   188     {
       
   189     buttons =
       
   190 	{
       
   191 	CBA_BUTTON 
       
   192 	    {
       
   193 	    id=EAknSoftkeyOptions; 
       
   194 	    txt = text_softkey_option;
       
   195 	    },
       
   196         AVKON_CBA_BUTTON
       
   197             {
       
   198             id = EBCTestTemplateCbaCmdNext;
       
   199             txt = qtn_bctesttemplate_cba_next;
       
   200             }
       
   201 	};
       
   202     }
       
   203 
       
   204 
       
   205 // End of File