PictBridgeProt.h
8.04 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
/*****************************************************************************
* Copyright Statement:
* --------------------
* This software is protected by Copyright and the information contained
* herein is confidential. The software may not be copied and the information
* contained herein may not be used or disclosed except with the written
* permission of MediaTek Inc. (C) 2007
*
* BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
* THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
* RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
* AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
* NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
* SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
* SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
* THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
* NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
* SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
*
* BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
* LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
* AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
* OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
* MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
*
* THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
* WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
* LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
* RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
* THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
*
*****************************************************************************/
/*****************************************************************************
*
* Filename:
* ---------
* PictBridgeProt.h
*
* Project:
* --------
* MAUI
*
* Description:
* ------------
* This file is intended for PictBridge appliction.
*
* Author:
* -------
* -------
*
*==============================================================================
* HISTORY
* Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
*------------------------------------------------------------------------------
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
*------------------------------------------------------------------------------
* Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
*==============================================================================
*******************************************************************************/
#ifndef __PICT_BRIDGE_PROT_H__
#define __PICT_BRIDGE_PROT_H__
#include "MMI_features.h"
#ifdef __MMI_PICT_BRIDGE_SUPPORT__
/* for debeg messages */
#ifdef __MTK_INTERNAL__
/* under construction !*/
#endif
#include "pictcuigprot.h"
/* auto add by kw_check begin */
#include "MMIDataType.h"
#include "kal_general_types.h"
#include "FileMgrSrvGProt.h"
#include "mmi_frm_events_gprot.h"
/* auto add by kw_check end */
/* PictBridgeMain.c */
extern void mmi_pict_entry_error_connection_to_pc(void);
extern void mmi_pict_entry_print_settings(void);
extern void mmi_pict_entry_print_now(void);
extern void mmi_pict_entry_print_query(void);
extern void mmi_pict_entry_print_abort(void);
extern void mmi_pict_entry_print_preview(void);
extern void mmi_pict_entry_print_error_information(void);
extern void mmi_pict_entry_print_done(pBOOL result, U16 error_string);
extern void mmi_pict_update_print_progression(const char *);
extern void mmi_pict_popup_print_error(void);
extern void mmi_pict_go_back_from_print_error(void);
extern void mmi_pict_delete_print_screens(void);
extern void mmi_pict_get_file_dimension(void);
extern void mmi_pict_host_reset_popop(void);
extern U16 mmi_pict_return_title_icon(void);
extern MMI_BOOL mmi_pict_jpg_format_validation(S8 *file);
#ifdef __MMI_PICT_BRIDGE_COMPLIANCE_TEST__
extern void mmi_pict_entry_printer_connected(void);
extern void mmi_pict_popup_idle_state_error(void);
#endif /* __MMI_PICT_BRIDGE_COMPLIANCE_TEST__ */
/* PictBridgeSettings.c */
extern void mmi_pict_entry_print_settings(void);
#ifdef __MMI_PICT_BRIDGE_CROPPING_CAT57__
extern void mmi_pict_entry_image_cropping(void);
#endif
#ifdef __MMI_PICT_BRIDGE_CROPPING_CAT88__
extern void mmi_pict_entry_image_cropping_phase1(void);
extern void mmi_pict_entry_image_cropping_phase2(void);
#endif
/* PictBridgeXML.c */
extern void mmi_pict_parse_xml_script(void);
extern void mmi_pict_prepare_xml_configure_print_service(void);
extern void mmi_pict_prepare_xml_get_capability(void);
extern void mmi_pict_prepare_xml_notify_job_result(void);
extern void mmi_pict_prepare_xml_notify_device_result(void);
extern void mmi_pict_prepare_xml_start_job(void);
extern void mmi_pict_prepare_xml_abort_job(void);
extern void mmi_pict_prepare_xml_continue_job(void);
#ifdef __MMI_PICT_BRIDGE_COMPLIANCE_TEST__
extern void mmi_pict_prepare_xml_return_error(void);
extern void mmi_pict_prepare_xml_return_invalidity(void);
extern void mmi_pict_exec_notify_device_status_cmd(void);
#endif /* __MMI_PICT_BRIDGE_COMPLIANCE_TEST__ */
/* PictBridgeHandler.c */
extern void mmi_pict_dps_discovery_ind(void *info);
extern void mmi_pict_receive_dps_operation_ind(void *info);
extern void mmi_pict_receive_dps_event_ind(void *info);
extern void mmi_pict_send_dps_operation_rsp(void *info);
extern void mmi_pict_send_dps_event_rsp(void *info);
extern void mmi_pict_send_dps_operation_req(void);
extern void mmi_pict_send_dps_event_req(void);
extern void mmi_pict_proc_pending_message(void *info);
extern void mmi_pict_connect_to_pc_ind(void *info);
extern void mmi_pict_open_file_fail_ind(void *info);
extern void mmi_pict_host_reset(void *info);
extern pBOOL mmi_pict_is_dps_device_present(void);
extern void mmi_pict_protocol_init(void);
#ifdef __MMI_PICT_BRIDGE_KEEP_XML_DATA__
extern void mmi_pict_write_xml_data_to_file(U8 *data_addr, U32 data_len);
extern void mmi_pict_delete_xml_data_file(void);
#endif /* __MMI_PICT_BRIDGE_KEEP_XML_DATA__ */
/* PictBridgeFMGR.c */
#ifdef __MMI_FMGR_MULTI_SELECT_SUPPORT__
extern void mmi_pict_prepare_single_file_data(void);
#endif
extern void mmi_pict_entry_mark_several_final_statistics(void);
extern void mmi_pict_entry_file_processing_screen(void);
extern void mmi_pict_check_preference(void);
#endif /* __MMI_PICT_BRIDGE_SUPPORT__ */
extern void mmi_pict_xml_init(void);
extern MMI_BOOL mmi_pict_is_configure_ready(void);
extern void mmi_pict_record_file_info(const WCHAR *full_path, const srv_fmgr_fileinfo_struct *info);
#ifdef __DRM_SUPPORT__
extern MMI_BOOL mmi_pict_drm_jpg_file_check(U8 *path);
#endif /* __DRM_SUPPORT__ */
extern void mmi_pict_reset_files_info(void);
extern void mmi_pict_prepare_file_done(void);
#if !defined(__MMI_FMGR_MULTI_SELECT_SUPPORT__)
extern void mmi_pict_get_file_date(void);
#endif
/* PictBridgeCUI.c */
extern void cui_pict_disp_popup(cui_pict_result_enum result, MMI_STR_ID string_id, mmi_event_notify_enum event_id);
extern void cui_pict_send_result_to_parent(cui_pict_result_enum result);
#endif /* __PICT_BRIDGE_PROT_H__ */