WinGui: Fix another instance of the Caliburn vs Json.net sillyness where objects...
[HandBrake.git] / libhb / hb_json.h
blob63efa34a44ec95f587a33106f2a340ae0d8fb765
1 /* hb_json.h
3 Copyright (c) 2003-2015 HandBrake Team
4 This file is part of the HandBrake source code
5 Homepage: <http://handbrake.fr/>.
6 It may be used under the terms of the GNU General Public License v2.
7 For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
8 */
10 #ifndef HB_JSON_H
11 #define HB_JSON_H
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
17 #include "common.h"
19 hb_dict_t * hb_state_to_dict( hb_state_t * state);
20 hb_dict_t * hb_job_to_dict( const hb_job_t * job );
21 hb_dict_t * hb_title_to_dict( hb_handle_t *h, int title_index );
22 hb_dict_t * hb_title_set_to_dict( const hb_title_set_t * title_set );
24 char * hb_get_title_set_json(hb_handle_t * h);
25 char * hb_title_to_json( hb_handle_t *h, int title_index );
26 char * hb_job_init_json(hb_handle_t *h, int title_index);
27 hb_job_t * hb_dict_to_job( hb_handle_t * h, hb_dict_t *dict );
28 char * hb_job_to_json(const hb_job_t * job);
29 hb_job_t * hb_json_to_job(hb_handle_t * h, const char * json_job);
30 int hb_add_json(hb_handle_t *h, const char * json_job);
31 char * hb_set_anamorphic_size_json(const char * json_param);
32 char * hb_get_state_json(hb_handle_t * h);
33 hb_image_t * hb_json_to_image(char *json_image);
34 char * hb_get_preview_params_json(int title_idx, int preview_idx,
35 int deinterlace, hb_geometry_settings_t *settings);
36 char * hb_get_preview_json(hb_handle_t * h, const char *json_param);
37 void hb_json_job_scan( hb_handle_t * h, const char * json_job );
39 #ifdef __cplusplus
41 #endif
43 #endif // HB_JSON_H