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_WIDGET_H_INCLUDED_
21 #define _SMSC_WIDGET_H_INCLUDED_
24 #include <Elementary.h>
27 #include <preview_engine.h>
29 #include "smsc_control.h"
30 #include "smsc_position.h"
33 struct smsc_page_data {
35 Evas_Object *page_obj;
40 Eina_List *pages_list;
42 struct smsc_position position;
43 struct smsc_control control;
45 Evas_Object *loading_animation;
56 struct preview_engine engine;
60 int init_smsc_widget(struct smsc_widget *widget, Evas_Object *parent);
61 int clear_smsc_position_settings(struct smsc_position *position);
63 int clear_smsc_widget(struct smsc_widget *widget);
64 int hide_smsc_widget(struct smsc_widget *widget);
65 int show_smsc_widget(struct smsc_widget *widget);
66 int smsc_widget_set_layout(struct smsc_widget *widget, Evas_Object *layout);
68 int move_smsc_widget_pages(struct smsc_widget *widget);
71 #endif /* _SMSC_WIDGET_H_INCLUDED_ */