javatools/javacaptain_app/src.s60/javacap.rss
branchRCL_3
changeset 83 26b2b12093af
parent 19 04becd199f91
equal deleted inserted replaced
77:7cee158cb8cd 83:26b2b12093af
       
     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 NAME JACA
       
    18 
       
    19 #include <eikon.rh>
       
    20 #include <avkon.rh>
       
    21 #include <avkon.rsg>
       
    22 #include <avkon.hrh>
       
    23 
       
    24 #ifdef RD_SCALABLE_UI
       
    25 #include <appinfo.rh>
       
    26 #endif
       
    27 
       
    28 #include "javacap.hrh"
       
    29 
       
    30 #include <data_caging_paths_strings.hrh>
       
    31 
       
    32 RESOURCE RSS_SIGNATURE { }
       
    33 
       
    34 RESOURCE TBUF { buf="javacap"; }
       
    35 
       
    36 RESOURCE EIK_APP_INFO
       
    37     {
       
    38     menubar = r_javacap_menubar;
       
    39     cba=R_AVKON_SOFTKEYS_OPTIONS_EXIT;
       
    40     }
       
    41 
       
    42 #ifdef RD_SCALABLE_UI
       
    43 RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info
       
    44 {
       
    45     short_caption = "JavaCap";
       
    46     caption_and_icon = CAPTION_AND_ICON_INFO
       
    47     {
       
    48         caption = "JavaCap";
       
    49     };
       
    50 }
       
    51 #endif
       
    52 
       
    53 //----------------------------------------------------
       
    54 //   
       
    55 //    r_javacap_menubar
       
    56 //
       
    57 //----------------------------------------------------
       
    58 //
       
    59 RESOURCE MENU_BAR r_javacap_menubar
       
    60     {
       
    61     titles =
       
    62         {
       
    63         MENU_TITLE { menu_pane = r_javacap_menu; txt = "Menu"; }
       
    64         };
       
    65     }
       
    66 
       
    67 //----------------------------------------------------
       
    68 //   
       
    69 //    r_askello_menu
       
    70 //
       
    71 //----------------------------------------------------
       
    72 //
       
    73 RESOURCE MENU_PANE r_javacap_menu
       
    74 {
       
    75     items =
       
    76     {
       
    77         MENU_ITEM { command = ECaptainCtl; txt = "JavaCaptain"; cascade = r_javacap_sub_menu;},
       
    78         MENU_ITEM { command = EPrewarmCtl; txt = "Prewarm"; cascade = r_javacap_prewarm_menu; },
       
    79         MENU_ITEM { command = EThreadDump; txt = "Thread dump";},
       
    80         MENU_ITEM { command = EDebugMode; txt = "Change debug mode";},
       
    81         MENU_ITEM { command = ESecurityMode; txt = "Change security warnings";},
       
    82         MENU_ITEM { command = ESecurityPolicy; txt = "SecurityPolicy"; cascade = r_javacap_secpolicy_sub_menu;},
       
    83         MENU_ITEM { command = ERedirectMode; txt = "Change redirect mode";}
       
    84     };
       
    85 }
       
    86 
       
    87 RESOURCE MENU_PANE r_javacap_sub_menu
       
    88 {
       
    89     items =
       
    90     {
       
    91         MENU_ITEM { command = ECaptainStart; txt = "Start Captain"; },
       
    92         MENU_ITEM { command = ECaptainStop; txt = "Stop Captain"; }
       
    93     };
       
    94 }
       
    95 
       
    96 RESOURCE MENU_PANE r_javacap_secpolicy_sub_menu
       
    97 {
       
    98     items =
       
    99     {
       
   100         MENU_ITEM { command = ES60SecurityPolicy; txt = "S60"; },
       
   101         MENU_ITEM { command = EMSASecurityPolicy; txt = "MSA"; },
       
   102         MENU_ITEM { command = EATTSecurityPolicy; txt = "AT&T"; }
       
   103     };
       
   104 }
       
   105 
       
   106 RESOURCE MENU_PANE r_javacap_prewarm_menu
       
   107 {
       
   108     items =
       
   109     {
       
   110         MENU_ITEM { command = ETogglePrewarmEnable; txt = "Prewarm (on/off)"; },
       
   111         MENU_ITEM { command = ETogglePrewarmUiEnable; txt = "Prewarm UI (on/off)"; }
       
   112     };
       
   113 }
       
   114