Add lib/CPAN/Admin.pm from CPAN to make version.t pass.
[p5sagit/p5-mst-13.2.git] / symbian / PerlAppUIQ.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 <eikcore.rsg>
9 #include <qikon.rh>
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     toolbar = r_Perl_menubar;
26 }
27
28
29 RESOURCE MENU_BAR r_Perl_menubar
30 {
31     titles = {
32         MENU_TITLE
33             {
34             menu_pane = r_Perl_menu; txt = "Options";
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_Perl_oneliner_dialog
67 {
68     title = "Title";
69     buttons = R_EIK_BUTTONS_CANCEL_OK;
70     flags = EEikDialogFlagWait;
71     items = {
72         DLG_LINE {
73             type = EEikCtEdwin;
74             prompt = "Prompt";
75             id = EPerlAppTextQueryInputField;
76             control = EDWIN {
77                 width = 10;
78                 maxlength = 128;
79             };
80         }
81     };
82 }
83
84 RESOURCE DIALOG r_ok_cancel_dialog
85 {
86     title = "OK / Cancel ?";
87     buttons = r_ok_cancel_buttons;
88 }
89
90 RESOURCE DLG_BUTTONS r_ok_cancel_buttons
91 {
92     buttons = {
93         DLG_BUTTON {
94             id = EEikBidOk;
95             button = CMBUT { txt = "Ok"; };
96         },
97         DLG_BUTTON {
98             id = EEikBidCancel;
99             button = CMBUT { txt = "Cancel"; };
100         }
101     };
102 }
103
104 RESOURCE DIALOG r_yes_no_dialog
105 {
106     title = "Yes / No ?";
107     buttons = r_yes_no_buttons;
108 }
109
110 RESOURCE DLG_BUTTONS r_yes_no_buttons
111 {
112     buttons = {
113         DLG_BUTTON {
114             id = EEikBidOk;
115             button = CMBUT { txt = "Yes"; };
116         },
117         DLG_BUTTON {
118             id = EEikBidCancel;
119             button = CMBUT { txt = "No"; };
120         }
121     };
122 }
123
124
125