BookmarkCui.c
2.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#ifdef OPERA_BROWSER
/* Needed header files of the compile option in XML files, if you need others need to add here */
#include "mmi_features.h"
#include "custresdef.h"
/* Need this line to tell parser that XML start, must after all #include. */
<?xml version="1.0" encoding="UTF-8"?>
/* APP tag, include your app name defined in MMIDataType.h */
<APP id="CUI_BKM">
/* When you use any ID of other module, you need to add
that header file here, so that Resgen can find the ID */
<!--Include Area-->
<INCLUDE file="GlobalResDef.h,SettingResDef.h"/>
<!-----------------------------------------------------String Resource Area----------------------------------------------------->
/* String ID of you Application, we will get string from ref_list.txt for all languages */
<STRING id="STR_ID_CUI_OPERA_BKM_BOOKMARKS"/>
<STRING id="STR_ID_CUI_OPERA_BKM_ADD_BOOKMARK"/>
<STRING id="STR_ID_CUI_OPERA_BKM_TITLE"/>
<STRING id="STR_ID_CUI_OPERA_BKM_FOLDER"/>
<STRING id="STR_ID_CUI_OPERA_BKM_SAVE_BOOKMARK"/>
<!-----------------------------------------------------Image Resource Area------------------------------------------------------>
/* Image Id and path of you Application , you can use compile option in Path, but need out of "" */
<IMAGE id="IMG_ID_CUI_OPERA_BKM_BOOKMARKS">CUST_IMG_PATH"\\\\MainLCD\\\\WAP\\\\SW_BOMK.pbm"</IMAGE>
#if defined(__COSMOS_MMI__)
<IMAGE id="IMG_ID_CUI_OPERA_BKM_FOLDER_ICON">CUST_IMG_PATH"\\\\MainLCD\\\\WAP\\\\Bookmark\\\\BM_Folder.pbm"</IMAGE>
#else
<IMAGE id="IMG_ID_CUI_OPERA_BKM_FOLDER_ICON">CUST_IMG_PATH"\\\\MainLCD\\\\WAP\\\\Bookmark\\\\BM_Folder.bmp"</IMAGE>
#endif
<IMAGE id="IMG_ID_CUI_OPERA_BKM_DEFAULT_FAVICON">CUST_IMG_PATH"\\\\MainLCD\\\\WAP\\\\Bookmark\\\\BM_USER.pbm"</IMAGE>
<!------------------------------------------------------Menu Resource Area------------------------------------------------------>
/* Only MENUITEM need compile option, MENUITEM_ID does not need */
<MENUITEM id="MENU_ID_CUI_OPERA_BKM_SELECT_FOLDER_OPTIONS_OPEN" str="STR_GLOBAL_OPEN"/>
<MENUITEM id="MENU_ID_CUI_OPERA_BKM_SELECT_FOLDER_OPTIONS_SELECT" str="STR_GLOBAL_SELECT"/>
<!--Menu Tree Area-->
<MENU id="MENU_ID_CUI_OPERA_BKM_SELECT_FOLDER_OPTIONS" type="OPTION" str="STR_GLOBAL_OPTIONS" img="IMG_ID_CUI_OPERA_BKM_BOOKMARKS">
<MENUITEM_ID>MENU_ID_CUI_OPERA_BKM_SELECT_FOLDER_OPTIONS_OPEN</MENUITEM_ID>
<MENUITEM_ID>MENU_ID_CUI_OPERA_BKM_SELECT_FOLDER_OPTIONS_SELECT</MENUITEM_ID>
</MENU>
<!------------------------------------------------------Other Resource---------------------------------------------------------->
<SCREEN id="GRP_ID_CUI_OPERA_BKM_SELECT_BOOKMARK"/>
<SCREEN id="GRP_ID_CUI_OPERA_BKM_ADD_BOOKMARK"/>
<SCREEN id="SCR_ID_CUI_OPERA_BKM_PROGRESSING"/>
<SCREEN id="SCR_ID_CUI_OPERA_BKM_BOOKMARK_LIST"/>
<SCREEN id="SCR_ID_CUI_OPERA_BKM_BOOKMARK_FOLDER_LIST"/>
</APP>
#endif /* OPERA_BROWSER */