aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-event-manager.h
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-10-02 22:16:27 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-10-02 22:27:34 +0800
commit34010895cf8b0915b5f6bb162ba6165271b48c3c (patch)
tree9559337cc7e58370ea9aed824a94bd23c7e21ce8 /src/empathy-event-manager.h
parent6b6983badfeb96c351829fc72816de849edbd5ad (diff)
downloadgsoc2013-empathy-34010895cf8b0915b5f6bb162ba6165271b48c3c.tar
gsoc2013-empathy-34010895cf8b0915b5f6bb162ba6165271b48c3c.tar.gz
gsoc2013-empathy-34010895cf8b0915b5f6bb162ba6165271b48c3c.tar.bz2
gsoc2013-empathy-34010895cf8b0915b5f6bb162ba6165271b48c3c.tar.lz
gsoc2013-empathy-34010895cf8b0915b5f6bb162ba6165271b48c3c.tar.xz
gsoc2013-empathy-34010895cf8b0915b5f6bb162ba6165271b48c3c.tar.zst
gsoc2013-empathy-34010895cf8b0915b5f6bb162ba6165271b48c3c.zip
add event type to EmpathyEvent (#589409)
Diffstat (limited to 'src/empathy-event-manager.h')
-rw-r--r--src/empathy-event-manager.h20
1 files changed, 15 insertions, 5 deletions
diff --git a/src/empathy-event-manager.h b/src/empathy-event-manager.h
index af73c8ea7..cccf2ae5a 100644
--- a/src/empathy-event-manager.h
+++ b/src/empathy-event-manager.h
@@ -48,12 +48,22 @@ struct _EmpathyEventManagerClass {
GObjectClass parent_class;
};
+typedef enum {
+ EMPATHY_EVENT_TYPE_CHAT,
+ EMPATHY_EVENT_TYPE_VOIP,
+ EMPATHY_EVENT_TYPE_TUBE,
+ EMPATHY_EVENT_TYPE_TRANSFER,
+ EMPATHY_EVENT_TYPE_SUBSCRIPTION,
+ EMPATHY_EVENT_TYPE_PRESENCE
+} EmpathyEventType;
+
typedef struct {
- EmpathyContact *contact;
- gchar *icon_name;
- gchar *header;
- gchar *message;
- gboolean must_ack;
+ EmpathyContact *contact;
+ EmpathyEventType type;
+ gchar *icon_name;
+ gchar *header;
+ gchar *message;
+ gboolean must_ack;
} EmpathyEvent;
GType empathy_event_manager_get_type (void) G_GNUC_CONST;