Added notify to utils: some wrappers to libnotify
[mokosuite2:libmokosuite.git] / mokosuite / utils / notify.h
1 #ifndef __MOKOSUITE_UTILS_NOTIFY_H
2 #define __MOKOSUITE_UTILS_NOTIFY_H
3
4 #include <libnotify/notification.h>
5
6 enum {
7     NOTIFICATION_HINT_DONT_PUSH = 1,
8     NOTIFICATION_HINT_SHOW_ON_RESUME = 1 << 1,
9     NOTIFICATION_HINT_INSISTENT = 1 << 2,
10     NOTIFICATION_HINT_ONGOING = 1 << 3,
11     NOTIFICATION_HINT_NOCLEAR = 1 << 4,
12     NOTIFICATION_HINT_AUTODEL = 1 << 5
13 } MokosuiteNotificationHints;
14
15 NotifyNotification* mokosuite_notification_new(const char* category, const char* summary, const char* body, const char* icon, int flags);
16
17 #endif  /* __MOKOSUITE_UTILS_NOTIFY_H */