1. Changed license year
[apps/home/mobileprint.git] / mobileprint / smsc / include / smsc_smart.h
1 /*
2 *  Mobileprint
3 *
4 * Copyright 2013  Samsung Electronics Co., Ltd
5
6 * Licensed under the Flora License, Version 1.1 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9
10 * http://floralicense.org/license/
11
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 *
18 */
19
20 #ifndef _SMSC_SMART_H_INCLUDED_
21 #define _SMSC_SMART_H_INCLUDED_
22
23 #include <Evas.h>
24
25 #include <paper_size.h>
26 #include <pdfgen.h>
27
28
29 Evas_Object *evas_smart_smsc_add(Evas *evas);
30 int evas_smart_smsc_set_file(Evas_Object *o, char **const fname,
31                 int files_count, const char *ppd,
32                 const struct paper_size_pts *paper_size,
33                 enum page_orientation orientation, int n_up,
34                 const struct page_scale *scale, int is_grayscale);
35 int evas_smart_smsc_set_layout(Evas_Object *o, Evas_Object *layout);
36 int init_smsc_accessability_support(Evas_Object *o);
37 int set_main_view_accessability_info(Evas_Object *o,
38                                                                         Evas_Object *layout,
39                                                                         const char *access_info,
40                                                                         const char *access_type,
41                                                                         const char *access_context_info);
42 int evas_smart_smsc_calculate_page_number(Evas_Object *o);
43 int evas_smart_smsc_get_pages_count(Evas_Object *o);
44
45 #endif /* _SMSC_SMART_H_INCLUDED_ */
46