diff options
Diffstat (limited to 'src/empathy-event-manager.h')
-rw-r--r-- | src/empathy-event-manager.h | 20 |
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; |