po: move translation files
[apps/core/preloaded/indicator-win.git] / inc / icon.h
1 /*
2  *  Indicator
3  *
4  * Copyright (c) 2000 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Licensed under the Apache License, Version 2.0 (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://www.apache.org/licenses/LICENSE-2.0
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
21 #ifndef __INDICATOR_ICON_UTIL_H__
22 #define __INDICATOR_ICON_UTIL_H__
23
24 #include <Elementary.h>
25
26 #include "indicator.h"
27 #include "main.h"
28
29 #define MAX_NOTI_ICONS_PORT 5
30 #define MAX_NOTI_ICONS_LAND 11
31
32 enum {
33         ICON_STATE_HIDDEN = 0,
34         ICON_STATE_SHOWN
35 };
36
37 enum indicator_view_mode {
38         INDICATOR_KEEP_VIEW = -1,
39         INDICATOR_FULL_VIEW,
40         INDICATOR_CLOCK_VIEW
41 };
42
43 extern void icon_show(icon_s *obj);
44 extern void icon_hide(icon_s *obj);
45 extern void icon_ani_set(icon_s *icon, enum indicator_icon_ani type);
46 extern char *icon_label_set(const char *buf, char *font_name,
47                                                         char *font_style, int font_size,
48                                                         void *data);
49 extern Eina_Bool icon_add(win_info *win,icon_s *icon);
50 extern Eina_Bool icon_del(icon_s *icon);
51 extern unsigned int icon_get_update_flag(void);
52 extern void icon_set_update_flag(unsigned int val);
53 extern void icon_reset_list(void);
54 extern void icon_handle_more_notify_icon(win_info* win);
55 extern void* icon_util_make(void* input);
56
57 #endif /*__INDICATOR_ICON_UTIL_H__*/