4 * Copyright 2013 Samsung Electronics Co., Ltd
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
10 * http://floralicense.org/license/
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.
20 #ifndef _SMSC_SMART_H_INCLUDED_
21 #define _SMSC_SMART_H_INCLUDED_
25 #include <paper_size.h>
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,
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);
45 #endif /* _SMSC_SMART_H_INCLUDED_ */