4 * Copyright (c) 2000 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
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
10 * http://www.apache.org/licenses/LICENSE-2.0
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.
21 #ifndef __INDICATOR_ICON_UTIL_H__
22 #define __INDICATOR_ICON_UTIL_H__
24 #include <Elementary.h>
26 #include "indicator.h"
29 #define MAX_NOTI_ICONS_PORT 5
30 #define MAX_NOTI_ICONS_LAND 11
33 ICON_STATE_HIDDEN = 0,
37 enum indicator_view_mode {
38 INDICATOR_KEEP_VIEW = -1,
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,
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);
57 #endif /*__INDICATOR_ICON_UTIL_H__*/