S_del_body is sufficiently small that inlining it is a space win.
[p5sagit/p5-mst-13.2.git] / symbian / PerlApp.rss
1 /* Copyright (c) 2004-2005 Nokia. All rights reserved. */ 
2
3 /* The PerlApp application is licensed under the same terms as Perl itself. */
4
5 NAME PERL
6
7 #include <eikon.rh>
8 #include <avkon.rh>
9 #include <avkon.rsg>
10
11 #include "PerlApp.hrh"
12
13 RESOURCE RSS_SIGNATURE
14 {
15 }
16
17 RESOURCE TBUF r_default_document_name
18 {
19     buf = "";
20 }
21
22 RESOURCE EIK_APP_INFO
23 {
24     menubar = r_Perl_menubar;
25     cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
26 }
27
28
29 RESOURCE MENU_BAR r_Perl_menubar
30 {
31     titles = {
32         MENU_TITLE
33             {
34             menu_pane = r_Perl_menu;
35             }
36     };
37 }
38
39
40 RESOURCE MENU_PANE r_Perl_menu
41 {
42     items = {
43         MENU_ITEM {
44             command = EPerlAppCommandAbout;
45             txt = "About";
46         },
47         MENU_ITEM {
48             command = EPerlAppCommandTime;
49             txt = "Time";
50         },
51         MENU_ITEM {
52             command = EPerlAppCommandRunFile;
53             txt = "Run";
54         },
55         MENU_ITEM {
56             command = EPerlAppCommandOneLiner;
57             txt = "Oneliner";
58         },
59         MENU_ITEM {
60             command = EPerlAppCommandCopyright;
61             txt = "Copyright";
62             }
63         };
64 }
65
66 RESOURCE DIALOG r_ok_cancel_dialog
67 {
68     flags = EEikDialogFlagWait | EEikDialogFlagCbaButtons;
69     buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
70     items = {
71         DLG_LINE
72         {
73             type = EAknCtNote;
74             id = EGeneralNote;
75             control = AVKON_NOTE
76             {
77                 layout = EGeneralLayout;
78             };
79         }
80     };
81 }
82
83 RESOURCE DIALOG r_yes_no_dialog
84 {
85     flags = EEikDialogFlagWait | EEikDialogFlagCbaButtons;
86     buttons = R_AVKON_SOFTKEYS_YES_NO;
87     items = {
88         DLG_LINE
89         {
90             type = EAknCtNote;
91             id = EGeneralNote;
92             control = AVKON_NOTE
93             {
94                 layout = EGeneralLayout;
95             };
96         }
97     };
98 }
99
100 RESOURCE DIALOG r_text_query_dialog
101 {
102     flags = EGeneralQueryFlags;
103     buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
104     items = {
105         DLG_LINE
106         {
107             type = EAknCtQuery;
108             id = EGeneralQuery;
109             control = AVKON_DATA_QUERY
110             {
111                 layout = EDataLayout;
112                 control = EDWIN {};
113             };
114         }
115     }; 
116 }
117
118 RESOURCE AVKON_LIST_QUERY r_list_query_dialog
119 {
120     flags = EGeneralQueryFlags;
121     softkeys = R_AVKON_SOFTKEYS_OK_CANCEL;
122     items = {
123         DLG_LINE
124         {
125             type = EAknCtListQueryControl;
126             id = EListQueryControl;
127             control = AVKON_LIST_QUERY_CONTROL
128             {
129                 listtype = EAknCtSinglePopupMenuListBox;
130             };
131         }
132     };
133 }
134
135 #include <CommonDialogs.hrh>
136 #include <CommonDialogs.rh>
137
138 RESOURCE MEMORYSELECTIONDIALOG r_memory_selection_dialog
139 {
140 }
141