2 * Copyright (c) 2009-2015 Samsung Electronics Co., Ltd All Rights Reserved
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
22 #include "quickpanel-ui.h"
23 #include "noti_node.h"
25 #define NOTI_PRESS_BG 0
26 #define NOTI_PRESS_BUTTON_1 1
28 #define QP_PRELOAD_NOTI_ICON_PATH "/usr/apps/org.tizen.quickpanel/shared/res/noti_icons"
30 char *quickpanel_noti_get_time(time_t t, char *buf, int buf_len);
31 int quickpanel_noti_get_count(void);
32 int quickpanel_noti_get_geometry(int *limit_h, int *limit_partial_h, int *limit_partial_w);
33 void quickpanel_noti_closing_trigger_set(void);
35 noti_node_item *quickpanel_noti_node_get_by_priv_id(int priv_id);
36 noti_node_item *quickpanel_noti_node_get_first_noti(void);
38 void quickpanel_noti_set_clear_all_status();
40 void on_clear_all_clicked(void *data, Evas_Object *obj, void *info);
41 int quickpanel_noti_get_type_count(notification_type_e noti_type);
43 void quickpanel_noti_init_noti_section(void);