po: move translation files
[apps/core/preloaded/indicator-win.git] / inc / noti_win.h
1 /*
2  * Copyright (c) 2009-2015 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * Licensed under the Apache License, Version 2.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://www.apache.org/licenses/LICENSE-2.0
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
18
19 #ifndef __NOTI_WIN_H__
20 #define __NOTI_WIN_H__
21
22 #include <Evas.h>
23
24 typedef enum _indicator_animated_icon_type {
25         INDICATOR_ANIMATED_ICON_NONE = -1,
26         INDICATOR_ANIMATED_ICON_DOWNLOAD = 1,
27         INDICATOR_ANIMATED_ICON_UPLOAD,
28         INDICATOR_ANIMATED_ICON_INSTALL,
29 } indicator_animated_icon_type;
30
31 typedef struct _QP_Module {
32         char *name;
33         /* func */
34         int (*init) (void *);
35         void (*init_job_cb) (void *);
36         int (*fini) (void *);
37         int (*suspend) (void *);
38         int (*resume) (void *);
39         int (*hib_enter) (void *);
40         int (*hib_leave) (void *);
41         void (*lang_changed) (void *);
42         void (*refresh) (void *);
43         unsigned int (*get_height) (void *);
44         void (*qp_opened) (void *);
45         void (*qp_closed) (void *);
46         void (*mw_enabled) (void *);
47         void (*mw_disabled) (void *);
48
49         /* do not modify this area */
50         /* internal data */
51         Eina_Bool state;
52 } QP_Module;
53
54 extern Evas_Object *noti_win_add(Evas_Object *parent, struct appdata *ad);
55 extern void noti_win_content_set(Evas_Object *obj, Evas_Object *content);
56
57 #endif