summaryrefslogtreecommitdiff
path: root/daemon/notifications/noti.h
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/notifications/noti.h')
-rwxr-xr-xdaemon/notifications/noti.h30
1 files changed, 25 insertions, 5 deletions
diff --git a/daemon/notifications/noti.h b/daemon/notifications/noti.h
index 5bac7b0..7c4cda2 100755
--- a/daemon/notifications/noti.h
+++ b/daemon/notifications/noti.h
@@ -1,25 +1,45 @@
/*
- * Copyright 2012 Samsung Electronics Co., Ltd
+ * Copyright (c) 2009-2015 Samsung Electronics Co., Ltd All Rights Reserved
*
- * Licensed under the Flora License, Version 1.1 (the License);
+ * 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://floralicense.org/license/
+ * 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,
+ * 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
-char *quickpanel_noti_get_time(time_t t, char *buf, int buf_len);
+
+#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