opera_adp.res
5.31 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
#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 id="APP_OPERA"
#if (defined(__COSMOS_MMI_PACKAGE__) || defined(__MMI_APP_MANAGER_SUPPORT__))
package_name="native.mtk.opera"
name="STR_ID_APP_OPERA"
img="IMG_ID_APP_OPERA"
launch="vapp_opera_launch"
#else /* __COSMOS_MMI_PACKAGE__ || __MMI_APP_MANAGER_SUPPORT__ */
name="STR_ID_APP_OPERA"
#endif
>
#ifdef OPERA_V10_BROWSER
<MEMORY heap="0"
extra_base="$(OPERA_BROWSER_POOL_SIZE) + base(SRV_MDI_AUDPLY)"
fg="fg(SRV_MDI_AUDPLY)"
cui="max(max(APP_OPERA_ADP, VCUI_CBM), VCUI_BT_SEND_PREPARE)"
inc="opera_adp_cfg.h"/>
#elif defined(OPERA_V11_BROWSER)
<MEMORY heap="0"
extra_base="$(OPERA_BROWSER_POOL_SIZE) + base(SRV_MDI_AUDPLY)"
fg="fg(SRV_MDI_AUDPLY)"
cui="APP_OPERA_ADP"
inc="opera_adp_cfg.h"/>
#endif
<APPCONCURRENT concurrent="APP_OPERA, APP_MUSIC_PLAYER"/>
#if (defined(__OP02__) && defined(__COSMOS_MMI_PACKAGE__))
<APPCONCURRENT concurrent="APP_OPERA, VAPP_MSG"/>
#endif
#if defined(__COSMOS_MMI_PACKAGE__)
<APPCONCURRENT concurrent_w_order="APP_OPERA, VAPP_DLAGENT, VAPP_CBM"/>
<APPCONCURRENT concurrent_w_order="APP_OPERA, VAPP_CBM"/>
#endif
<!-----------------------------------------------------String Resource Area----------------------------------------------------->
/* String ID of you Application, we will get string from ref_list.txt for all languages */
<STRING id="STR_ID_APP_OPERA"/>
<!-----------------------------------------------------Image Resource Area------------------------------------------------------>
/* Image Id and path of you Application , you can use compile option in Path, but need out of "" */
#ifdef __COSMOS_MMI_PACKAGE__
<THEME>
<IMAGE id="IMG_ID_APP_OPERA" desc="Main menu opera icon">RES_THEME_ROOT"\\\\Default\\\\Mainmenu_Icon\\\\Opera.png"</IMAGE>
</THEME>
#else
<IMAGE id="IMG_ID_APP_OPERA">CUST_IMG_PATH"\\\\MainLCD\\\\VUI\\\\Launcher\\\\Mainmenu\\\\Icons\\\\Opera.png"</IMAGE>
#endif
</APP>
<APP id="APP_OPERA_PARTIAL" name="STR_ID_APP_OPERA_PARTIAL">
#ifdef OPERA_V10_BROWSER
<MEMORY heap="0"
extra_base="(12 * 1024 * 1024) + base(SRV_MDI_AUDPLY)"
fg="fg(SRV_MDI_AUDPLY)"
cui="max(max(APP_OPERA_ADP, VCUI_CBM), VCUI_BT_SEND_PREPARE)"/>
#elif defined(OPERA_V11_BROWSER)
<MEMORY heap="0"
extra_base="(12 * 1024 * 1024) + base(SRV_MDI_AUDPLY)"
fg="fg(SRV_MDI_AUDPLY)"
cui="APP_OPERA_ADP"/>
#endif
<!-----------------------------------------------------String Resource Area----------------------------------------------------->
/* String ID of you Application, we will get string from ref_list.txt for all languages */
<STRING id="STR_ID_APP_OPERA_PARTIAL"/>
</APP>
/* APP tag, include your app name defined in MMIDataType.h */
<APP id="APP_OPERA_ADP" name="STR_ID_APP_OPERA_ADP">
#ifdef __COSMOS_MMI_PACKAGE__
#ifdef OPERA_V10_BROWSER
<MEMORY heap="150 * 1024" cui="max(VCUI_DTCNT, VCUI_SMSONLYCOMPOSER)" />
#elif defined(OPERA_V11_BROWSER)
<MEMORY heap="150 * 1024" cui="VCUI_DTCNT" />
#endif
#endif /* __COSMOS_MMI_PACKAGE__ */
/* 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-->
<!-----------------------------------------------------String Resource Area----------------------------------------------------->
/* String ID of you Application, we will get string from ref_list.txt for all languages */
<STRING id="SERVICES_OPERA_SHORTCUT_STRING_ID"/>
<STRING id="STR_ID_APP_OPERA_ADP"/>
<STRING id="STR_ID_APP_OPERA_ADP_ALWAYS_USE_WIFI"/>
<STRING id="STR_ID_APP_OPERA_ADP_DEFAULT_DATA_ACCOUNT"/>
<STRING id="STR_ID_APP_OPERA_ADP_NOT_AVAILABLE_USB_TETHERING_ACTIVATED"/>
<!-----------------------------------------------------Image Resource Area------------------------------------------------------>
/* Image Id and path of you Application , you can use compile option in Path, but need out of "" */
<IMAGE id="SERVICES_OPERA_SHORTCUT_IMAGE_ID">CUST_IMG_PATH"\\\\MainLCD\\\\Opera\\\\SB_opera.pbm"</IMAGE>
<!------------------------------------------------------Menu Resource Area------------------------------------------------------>
/* Only MENUITEM need compile option, MENUITEM_ID does not need */
<!--Menu Tree Area-->
<MENU id="SERVICES_OPERA_SHORTCUT_MENU_ID" str="SERVICES_OPERA_SHORTCUT_STRING_ID" img="SERVICES_OPERA_SHORTCUT_IMAGE_ID" shortcut="ON" shortcut_img="SERVICES_OPERA_SHORTCUT_IMAGE_ID" launch="goto_mobile_suite_screen">
</MENU>
<!------------------------------------------------------Other Resource---------------------------------------------------------->
<RECEIVER id="EVT_ID_SRV_DTCNT_ACCT_DELETE_IND" proc="opera_adp_prof_account_changed_hdlr"/>
<RECEIVER id="EVT_ID_SRV_DTCNT_ACCT_UPDATE_IND" proc="opera_adp_prof_account_changed_hdlr"/>
<RECEIVER id="EVT_ID_SRV_DTCNT_SIM_PREFERENCE_UPDATE_IND" proc="opera_adp_prof_sim_preference_update_hdlr"/>
</APP>
#endif /* OPERA_BROWSER */