diff -r 12c456ceeff2 -r 5253a20d2a1e ipsservices/ipssossettings/tsrc/IpsSosTestApp/data/IpsSosTestApp.rss --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ipsservices/ipssossettings/tsrc/IpsSosTestApp/data/IpsSosTestApp.rss Mon Jan 18 20:08:26 2010 +0200 @@ -0,0 +1,161 @@ +/* +* ============================================================================ +* Name : ipssostestapp.rss +* Part of : ipssostestapp +* ============================================================================ +*/ + +// RESOURCE IDENTIFIER +NAME TEST // 4 letter ID + +// INCLUDES + +#include +#include "testapp.hrh" +#include "ipssostestapp.loc" +#include +#include +#include +#include +#include + +RESOURCE RSS_SIGNATURE { } + +RESOURCE TBUF { buf="ipssostestapp"; } + +RESOURCE EIK_APP_INFO + { + menubar=r_testapp_menubar; + cba=R_AVKON_SOFTKEYS_OPTIONS_EXIT; + } + +RESOURCE LOCALISABLE_APP_INFO r_testapp_app_info + { + short_caption = "IpsSosTestApp"; + caption_and_icon = + CAPTION_AND_ICON_INFO + { + caption = "IpsSosTest"; + }; + } + +//---------------------------------------------------- +// +// r_testapp_hotkeys +// ?description +// +//---------------------------------------------------- +// +RESOURCE HOTKEYS r_testapp_hotkeys + { + control= + { + HOTKEY { command=EAknCmdExit; key='e'; } + }; + } + +//---------------------------------------------------- +// +// r_testapp_menubar +// ?description +// +//---------------------------------------------------- +// +RESOURCE MENU_BAR r_testapp_menubar + { + titles= + { + MENU_TITLE { menu_pane=r_testapp_menu; txt="File"; } + }; + } + +//---------------------------------------------------- +// +// r_testapp_menu +// ?description +// +//---------------------------------------------------- +// +RESOURCE MENU_PANE r_testapp_menu + { + items= + { + MENU_ITEM { command=ETestAppSubMenuId; txt="Run"; cascade=r_testapp_launch_sub_menu; }, + MENU_ITEM { command=EAknCmdExit; txt="Exit"; } + }; + } + + +//---------------------------------------------------- +// +// r_testapp_menu +// ?description +// +//---------------------------------------------------- +// +RESOURCE MENU_PANE r_testapp_launch_sub_menu + { + items= + { + // TODO add submenus here + MENU_ITEM { command=ETest1Cmd; txt="Create settings"; }, + MENU_ITEM { command=ETest2Cmd; txt="Launch test case"; }, + MENU_ITEM { command=ETest3Cmd; txt="Launch recent"; } + }; + } + +//---------------------------------------------------- +// +// r_number_query_dialog +// +//---------------------------------------------------- +// +RESOURCE DIALOG r_number_query_dialog + { + flags = EGeneralQueryFlags; + buttons = R_AVKON_SOFTKEYS_OK_CANCEL; + items = + { + DLG_LINE + { + type = EAknCtQuery; + id = EGeneralQuery; + control= AVKON_DATA_QUERY + { + layout = ENumberLayout; + control = AVKON_INTEGER_EDWIN + { + min = 0; + max = 99; + }; + }; + } + }; + } + +//---------------------------------------------------- +// +// r_text_query_dialog +// +//---------------------------------------------------- +// +RESOURCE DIALOG r_text_query_dialog + { + flags=EGeneralQueryFlags; + buttons=R_AVKON_SOFTKEYS_OK_CANCEL; + items= + { + DLG_LINE + { + type=EAknCtQuery; + id=EGeneralQuery; + control= AVKON_DATA_QUERY + { + layout = EDataLayout; + control = EDWIN{}; + }; + } + }; + } + +// End of File