aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-misc.h
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2009-01-31 01:08:17 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-31 01:08:17 +0800
commitbd36eff5533cf4021316a12dd9608dd21392cd1a (patch)
treec2fcb6c5a6118ef487cf897791b21da225d67eea /src/empathy-misc.h
parentb7e7e719a516879202323b2dc6bf73403909bc32 (diff)
downloadgsoc2013-empathy-bd36eff5533cf4021316a12dd9608dd21392cd1a.tar
gsoc2013-empathy-bd36eff5533cf4021316a12dd9608dd21392cd1a.tar.gz
gsoc2013-empathy-bd36eff5533cf4021316a12dd9608dd21392cd1a.tar.bz2
gsoc2013-empathy-bd36eff5533cf4021316a12dd9608dd21392cd1a.tar.lz
gsoc2013-empathy-bd36eff5533cf4021316a12dd9608dd21392cd1a.tar.xz
gsoc2013-empathy-bd36eff5533cf4021316a12dd9608dd21392cd1a.tar.zst
gsoc2013-empathy-bd36eff5533cf4021316a12dd9608dd21392cd1a.zip
Add an enum to define notification close reason.
svn path=/trunk/; revision=2298
Diffstat (limited to 'src/empathy-misc.h')
-rw-r--r--src/empathy-misc.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/empathy-misc.h b/src/empathy-misc.h
index 6bc3e2b27..cc407b4ba 100644
--- a/src/empathy-misc.h
+++ b/src/empathy-misc.h
@@ -28,6 +28,15 @@
G_BEGIN_DECLS
+/* FIXME: this should *really* belong to libnotify. */
+typedef enum {
+ NOTIFICATION_CLOSED_INVALID = 0,
+ NOTIFICATION_CLOSED_EXPIRED = 1,
+ NOTIFICATION_CLOSED_DISMISSED = 2,
+ NOTIFICATION_CLOSED_PROGRAMMATICALY = 3,
+ NOTIFICATION_CLOSED_RESERVED = 4
+} NotificationClosedReason;
+
gboolean empathy_notification_is_enabled (void);
G_END_DECLS