From: Steve Peters Date: Mon, 1 Jan 2007 19:30:05 +0000 (+0000) Subject: Add file missed in change #29650. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3d0ef1696a3e8c1da6e82def28f3c8bd02ab1989;p=p5sagit%2Fp5-mst-13.2.git Add file missed in change #29650. p4raw-link: @29650 on //depot/perl: 53d44271720d88220a01b5620a93869665083b01 p4raw-id: //depot/perl@29651 --- diff --git a/symbian/PerlUiS90.rss b/symbian/PerlUiS90.rss new file mode 100644 index 0000000..28f71dd --- /dev/null +++ b/symbian/PerlUiS90.rss @@ -0,0 +1,95 @@ +/* Copyright (c) 2006 Alexander Smishlajev. All rights reserved. */ + +/* The PerlUi class is licensed under the same terms as Perl itself. */ + +/* The S90 definitions. */ + +NAME PERL + +#include +#include + +#include "PerlUi.hrh" +#include "PerlApp.hrh" + +RESOURCE RSS_SIGNATURE +{ +} + +RESOURCE TBUF r_default_document_name +{ + buf = ""; +} + +RESOURCE EIK_APP_INFO +{ + menubar = r_perlui_menubar; + cba = r_perlui_cba; +} + +RESOURCE CBA r_perlui_cba +{ + buttons = { + CBA_BUTTON { id = EPerlAppCommandRunFile; txt = "Run"; }, + CBA_BUTTON { id = EPerlAppCommandOneLiner; txt = "Oneliner"; }, + CBA_BUTTON { id = EPerlAppCommandAboutCopyright; txt = "About"; }, + CBA_BUTTON { id = EEikCmdExit; txt = "Exit"; } + }; +} + + +RESOURCE MENU_BAR r_perlui_menubar +{ + titles = { + MENU_TITLE + { + menu_pane = r_perlui_menu; txt = "Options"; + } + }; +} + + +RESOURCE MENU_PANE r_perlui_menu +{ + items = { + MENU_ITEM { + command = EPerlAppCommandAbout; + txt = "About"; + }, + MENU_ITEM { + command = EPerlAppCommandTime; + txt = "Time"; + }, + MENU_ITEM { + command = EPerlAppCommandRunFile; + txt = "Run"; + }, + MENU_ITEM { + command = EPerlAppCommandOneLiner; + txt = "Oneliner"; + }, + MENU_ITEM { + command = EPerlAppCommandCopyright; + txt = "Copyright"; + } + }; +} + +RESOURCE DIALOG r_perlui_oneliner_dialog +{ + title = "Title"; + buttons = R_EIK_BUTTONS_CANCEL_OK; + flags = EEikDialogFlagWait; + items = { + DLG_LINE { + type = EEikCtEdwin; + prompt = "Prompt"; + id = EPerlUiTextQueryInputField; + control = EDWIN { + width = 10; + maxlength = 128; + }; + } + }; +} +