Remerge assorted integration fixes for Symbian^3, including Bug 2895 and Bug 2896
/*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:
*
*/
NAME JACA
#include <eikon.rh>
#include <avkon.rh>
#include <avkon.rsg>
#include <avkon.hrh>
#ifdef RD_SCALABLE_UI
#include <appinfo.rh>
#endif
#include "javacap.hrh"
#include <data_caging_paths_strings.hrh>
RESOURCE RSS_SIGNATURE { }
RESOURCE TBUF { buf="javacap"; }
RESOURCE EIK_APP_INFO
{
menubar = r_javacap_menubar;
cba=R_AVKON_SOFTKEYS_OPTIONS_EXIT;
}
#ifdef RD_SCALABLE_UI
RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info
{
short_caption = "JavaCap";
caption_and_icon = CAPTION_AND_ICON_INFO
{
caption = "JavaCap";
};
}
#endif
//----------------------------------------------------
//
// r_javacap_menubar
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_javacap_menubar
{
titles =
{
MENU_TITLE { menu_pane = r_javacap_menu; txt = "Menu"; }
};
}
//----------------------------------------------------
//
// r_askello_menu
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_javacap_menu
{
items =
{
MENU_ITEM { command = ECaptainCtl; txt = "JavaCaptain"; cascade = r_javacap_sub_menu;},
MENU_ITEM { command = EPrewarmCtl; txt = "Prewarm"; cascade = r_javacap_prewarm_menu; },
MENU_ITEM { command = EThreadDump; txt = "Thread dump";},
MENU_ITEM { command = EDebugMode; txt = "Change debug mode";},
MENU_ITEM { command = ESecurityMode; txt = "Change security warnings";},
MENU_ITEM { command = ESecurityPolicy; txt = "SecurityPolicy"; cascade = r_javacap_secpolicy_sub_menu;},
MENU_ITEM { command = ERedirectMode; txt = "Change redirect mode";}
};
}
RESOURCE MENU_PANE r_javacap_sub_menu
{
items =
{
MENU_ITEM { command = ECaptainStart; txt = "Start Captain"; },
MENU_ITEM { command = ECaptainStop; txt = "Stop Captain"; }
};
}
RESOURCE MENU_PANE r_javacap_secpolicy_sub_menu
{
items =
{
MENU_ITEM { command = ES60SecurityPolicy; txt = "S60"; },
MENU_ITEM { command = EMSASecurityPolicy; txt = "MSA"; },
MENU_ITEM { command = EATTSecurityPolicy; txt = "AT&T"; }
};
}
RESOURCE MENU_PANE r_javacap_prewarm_menu
{
items =
{
MENU_ITEM { command = ETogglePrewarmEnable; txt = "Prewarm (on/off)"; },
MENU_ITEM { command = ETogglePrewarmUiEnable; txt = "Prewarm UI (on/off)"; }
};
}