diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2005-10-21 20:15:23 +0300 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2005-10-21 15:49:00 +0000 |
commit | f0b5fd17259cb6dfa5567118f9c1043a55d1a744 (patch) | |
tree | a730ba501ade49e29b5a0fb62e9c45f8593298de /symbian | |
parent | 15547071d7923e1ad71df03a6a5f4bf10b39825e (diff) | |
download | perl-f0b5fd17259cb6dfa5567118f9c1043a55d1a744.tar.gz |
Symbian/beginnings of Series 80 support
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F24E7A67E@esebe105.NOE.Nokia.com>
p4raw-id: //depot/perl@25819
Diffstat (limited to 'symbian')
-rw-r--r-- | symbian/PerlAppS60.rss | 141 | ||||
-rw-r--r-- | symbian/PerlAppS80.rss | 74 |
2 files changed, 215 insertions, 0 deletions
diff --git a/symbian/PerlAppS60.rss b/symbian/PerlAppS60.rss new file mode 100644 index 0000000000..c352c528db --- /dev/null +++ b/symbian/PerlAppS60.rss @@ -0,0 +1,141 @@ +/* Copyright (c) 2004-2005 Nokia. All rights reserved. */ + +/* The PerlApp application is licensed under the same terms as Perl itself. */ + +NAME PERL + +#include <eikon.rh> +#include <avkon.rh> +#include <avkon.rsg> + +#include "PerlApp.hrh" + +RESOURCE RSS_SIGNATURE +{ +} + +RESOURCE TBUF r_default_document_name +{ + buf = ""; +} + +RESOURCE EIK_APP_INFO +{ + menubar = r_Perl_menubar; + cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT; +} + + +RESOURCE MENU_BAR r_Perl_menubar +{ + titles = { + MENU_TITLE + { + menu_pane = r_Perl_menu; + } + }; +} + + +RESOURCE MENU_PANE r_Perl_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_ok_cancel_dialog +{ + flags = EEikDialogFlagWait | EEikDialogFlagCbaButtons; + buttons = R_AVKON_SOFTKEYS_OK_CANCEL; + items = { + DLG_LINE + { + type = EAknCtNote; + id = EGeneralNote; + control = AVKON_NOTE + { + layout = EGeneralLayout; + }; + } + }; +} + +RESOURCE DIALOG r_yes_no_dialog +{ + flags = EEikDialogFlagWait | EEikDialogFlagCbaButtons; + buttons = R_AVKON_SOFTKEYS_YES_NO; + items = { + DLG_LINE + { + type = EAknCtNote; + id = EGeneralNote; + control = AVKON_NOTE + { + layout = EGeneralLayout; + }; + } + }; +} + +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 {}; + }; + } + }; +} + +RESOURCE AVKON_LIST_QUERY r_list_query_dialog +{ + flags = EGeneralQueryFlags; + softkeys = R_AVKON_SOFTKEYS_OK_CANCEL; + items = { + DLG_LINE + { + type = EAknCtListQueryControl; + id = EListQueryControl; + control = AVKON_LIST_QUERY_CONTROL + { + listtype = EAknCtSinglePopupMenuListBox; + }; + } + }; +} + +#include <CommonDialogs.hrh> +#include <CommonDialogs.rh> + +RESOURCE MEMORYSELECTIONDIALOG r_memory_selection_dialog +{ +} + diff --git a/symbian/PerlAppS80.rss b/symbian/PerlAppS80.rss new file mode 100644 index 0000000000..28c862f049 --- /dev/null +++ b/symbian/PerlAppS80.rss @@ -0,0 +1,74 @@ +/* Copyright (c) 2004-2005 Nokia. All rights reserved. */ + +/* The PerlApp application is licensed under the same terms as Perl itself. */ + +NAME PERL + +#include <eikon.rh> +#include <eikon.rsg> + +#include "PerlApp.hrh" + +RESOURCE RSS_SIGNATURE +{ +} + +RESOURCE TBUF r_default_document_name +{ + buf = ""; +} + +RESOURCE EIK_APP_INFO +{ + menubar = r_Perl_menubar; + cba = r_Perl_cba; +} + +RESOURCE CBA r_Perl_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_Perl_menubar +{ + titles = { + MENU_TITLE + { + menu_pane = r_Perl_menu; txt = "Options"; + } + }; +} + + +RESOURCE MENU_PANE r_Perl_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"; + } + }; +} + |