tizen 2.3.1 release
[apps/home/b2-clocksetting.git] / include / setting_view_toast.h
1 /*
2  *  Copyright (c) 2014 Samsung Electronics Co., Ltd.
3  *
4  *  Licensed under the Flora License, Version 1.0 (the License);
5  *  you may not use this file except in compliance with the License.
6  *  You may obtain a copy of the License at
7  *
8  *      http://floralicense.org/license/
9  *
10  *  Unless required by applicable law or agreed to in writing, software
11  *  distributed under the License is distributed on an AS IS BASIS,
12  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  *  See the License for the specific language governing permissions and
14  *  limitations under the License.
15  *
16  */
17 #ifndef _SETTING_VIEW_TOAST_H_
18 #define _SETTING_VIEW_TOAST_H_
19
20 #include <Elementary.h>
21
22 typedef struct _toast_data {
23         char *str;
24         int is_show;
25
26         Evas_Object *toast_popup;
27 } Toast_Data;
28
29 Toast_Data *_create_toast(void *data, char *msg);
30 void _destroy_toast(struct _toast_data *toast);
31 void _dismiss_toast(void *data, Evas_Object *obj, void *event_info);
32 /*void _dismiss_toast( struct _toast_data * toast ); */
33 void _show_toast(void *data, struct _toast_data *toast);
34
35 #endif