summaryrefslogtreecommitdiff
path: root/daemon/notifications/noti.h
blob: 7c4cda27b9455f3205671dc122e6f7452b714e2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
 * Copyright (c) 2009-2015 Samsung Electronics Co., Ltd All Rights Reserved
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */


#ifndef __NOTI_H__
#define __NOTI_H__

#include "quickpanel-ui.h"
#include "noti_node.h"
#include <system_settings.h>

#define NOTI_PRESS_BG 0
#define NOTI_PRESS_BUTTON_1 1

#define QP_PRELOAD_NOTI_ICON_PATH "/usr/apps/org.tizen.quickpanel/shared/res/noti_icons"

int quickpanel_noti_get_count(void);
int quickpanel_noti_get_geometry(int *limit_h, int *limit_partial_h, int *limit_partial_w);
void quickpanel_noti_closing_trigger_set(void);

noti_node_item *quickpanel_noti_node_get_by_priv_id(int priv_id);
noti_node_item *quickpanel_noti_node_get_first_noti(void);

void quickpanel_noti_set_clear_all_status();

void quickpanel_noti_on_clear_all_clicked(void *data, Evas_Object *obj, void *info);
int quickpanel_noti_get_type_count(notification_type_e noti_type);
void quickpanel_noti_init_noti_section(void);
void quickpanel_noti_update_by_system_time_changed_cb(system_settings_key_e  *key, void *data);

#endif