author | John Imhofe <john.imhofe@nokia.com> |
Mon, 21 Dec 2009 16:14:42 +0000 | |
changeset 15 | 4122176ea935 |
parent 0 | a41df078684a |
permissions | -rw-r--r-- |
15
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
1 |
/* |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
2 |
* Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies). |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
3 |
* All rights reserved. |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
4 |
* This component and the accompanying materials are made available |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
5 |
* under the terms of "Eclipse Public License v1.0" |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
6 |
* which accompanies this distribution, and is available |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
8 |
* |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
9 |
* Initial Contributors: |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
10 |
* Nokia Corporation - initial contribution. |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
11 |
* |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
12 |
* Contributors: |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
13 |
* |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
14 |
* Description: |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
15 |
* TNRLAPP.RSS |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
16 |
* |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
17 |
*/ |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
18 |
|
0 | 19 |
|
20 |
NAME NRL |
|
21 |
CHARACTER_SET UTF8 |
|
22 |
#include <techview\eikon.rh> |
|
23 |
#include <eikcore.rsg> |
|
24 |
#include <eikctl.rsg> |
|
25 |
#include <testnrl.mbg> |
|
26 |
#include "TestNrl.hrh" |
|
27 |
||
28 |
RESOURCE RSS_SIGNATURE { } |
|
29 |
||
30 |
RESOURCE TBUF16 { buf=""; } |
|
31 |
||
32 |
RESOURCE EIK_APP_INFO |
|
33 |
{ |
|
34 |
hotkeys=r_nrl_hotkeys; |
|
35 |
menubar=r_nrl_menubar; |
|
36 |
toolbar=r_nrl_toolbar; |
|
37 |
} |
|
38 |
||
39 |
RESOURCE MENU_BAR r_nrl_menubar |
|
40 |
{ |
|
41 |
titles= |
|
42 |
{ |
|
43 |
MENU_TITLE {menu_pane=r_nrl_file; txt="File"; } |
|
44 |
}; |
|
45 |
} |
|
46 |
||
47 |
RESOURCE MENU_PANE r_nrl_file |
|
48 |
{ |
|
49 |
items= |
|
50 |
{ |
|
51 |
MENU_ITEM |
|
52 |
{ |
|
53 |
command=EAppCmdTest; |
|
54 |
txt="Start Test"; |
|
55 |
}, |
|
56 |
MENU_ITEM |
|
57 |
{ |
|
58 |
command=EAppCmdExit; |
|
59 |
txt="Exit"; |
|
60 |
} |
|
61 |
}; |
|
62 |
} |
|
63 |
||
64 |
RESOURCE HOTKEYS r_nrl_hotkeys |
|
65 |
{ |
|
66 |
control= |
|
67 |
{ |
|
68 |
HOTKEY{command=EAppCmdTest;key='t';}, |
|
69 |
HOTKEY{command=EAppCmdExit;key='e';} |
|
70 |
}; |
|
71 |
} |
|
72 |
||
73 |
||
74 |
RESOURCE TOOLBAR r_nrl_toolbar |
|
75 |
{ |
|
76 |
controls= |
|
77 |
{ |
|
78 |
TBAR_BUTTON |
|
79 |
{ |
|
80 |
id=EAppCmdTest; |
|
81 |
txt="Start\nTests"; |
|
82 |
layout=EEikCmdButExcessToText; |
|
83 |
flags=EEikToolBarCtrlHasSetMinLength; |
|
84 |
length=KEikStdToolBarButtonHeight; |
|
85 |
}, |
|
86 |
TBAR_BUTTON |
|
87 |
{ |
|
88 |
id=EAppCmdExit; |
|
89 |
txt="Exit"; |
|
90 |
layout=EEikCmdButExcessToText; |
|
91 |
flags=EEikToolBarCtrlHasSetMinLength; |
|
92 |
length=KEikStdToolBarButtonHeight; |
|
93 |
}, |
|
94 |
TBAR_BUTTON |
|
95 |
{ |
|
96 |
id=EAppCmdNone; |
|
97 |
flags=EEikToolBarCtrlHasSetMinLength; |
|
98 |
length=KEikStdToolBarButtonHeight*10/8; |
|
99 |
layout=EEikCmdButTextRightPictureLeft|EEikCmdButDenseFont|EEikCmdButExcessToText; |
|
100 |
bmpfile="z:\\resource\\apps\\testnrl.mbm"; |
|
101 |
bmpid=EMbmTestnrlPic; |
|
102 |
bmpmask=EMbmTestnrlMask; |
|
103 |
}, |
|
104 |
TBAR_CTRL |
|
105 |
{ |
|
106 |
type=EEikCtSpacer; id=9999; flags=EEikToolBarCtrlIsStretchable; |
|
107 |
control=SPACER { }; |
|
108 |
}, |
|
109 |
TBAR_CTRL |
|
110 |
{ |
|
111 |
type=EEikCtClock; |
|
112 |
control=CLOCK |
|
113 |
{ |
|
114 |
digitalresourceid=R_EIK_DIGITAL_CLOCK; |
|
115 |
analogresourceid=R_EIK_ANALOG_CLOCK; |
|
116 |
}; |
|
117 |
} |
|
118 |
}; |
|
119 |
} |
|
120 |
||
121 |
RESOURCE ARRAY r_nrl_collate |
|
122 |
{ |
|
123 |
items= |
|
124 |
{ |
|
125 |
LBUF {txt="D";}, |
|
126 |
LBUF {txt="B";}, |
|
127 |
LBUF {txt="A";} |
|
128 |
}; |
|
129 |
} |
|
130 |
||
131 |
||
132 |