diff options
author | Danielle Madeley <danielle.madeley@collabora.co.uk> | 2011-04-27 12:10:50 +0800 |
---|---|---|
committer | Danielle Madeley <danielle.madeley@collabora.co.uk> | 2011-05-05 15:24:17 +0800 |
commit | 1f46d6c5aa319ea7b81c29dcd08a0c7eb40d5789 (patch) | |
tree | 28e06781953338d2660494714e28792be048c629 /libempathy/empathy-tp-chat.h | |
parent | b0aaacf05d0b46ca53f3b6b9f2dd0565cea0f5d0 (diff) | |
download | gsoc2013-empathy-1f46d6c5aa319ea7b81c29dcd08a0c7eb40d5789.tar gsoc2013-empathy-1f46d6c5aa319ea7b81c29dcd08a0c7eb40d5789.tar.gz gsoc2013-empathy-1f46d6c5aa319ea7b81c29dcd08a0c7eb40d5789.tar.bz2 gsoc2013-empathy-1f46d6c5aa319ea7b81c29dcd08a0c7eb40d5789.tar.lz gsoc2013-empathy-1f46d6c5aa319ea7b81c29dcd08a0c7eb40d5789.tar.xz gsoc2013-empathy-1f46d6c5aa319ea7b81c29dcd08a0c7eb40d5789.tar.zst gsoc2013-empathy-1f46d6c5aa319ea7b81c29dcd08a0c7eb40d5789.zip |
[tp-chat] add a counter for the number of pending messages
Requires delivery reports to include delivery-token.
Diffstat (limited to 'libempathy/empathy-tp-chat.h')
-rw-r--r-- | libempathy/empathy-tp-chat.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libempathy/empathy-tp-chat.h b/libempathy/empathy-tp-chat.h index 7ac1296e0..83c7fe7d1 100644 --- a/libempathy/empathy-tp-chat.h +++ b/libempathy/empathy-tp-chat.h @@ -59,6 +59,12 @@ typedef struct { GValue *value; } EmpathyTpChatProperty; +typedef enum { + EMPATHY_DELIVERY_STATUS_NONE, + EMPATHY_DELIVERY_STATUS_SENDING, + EMPATHY_DELIVERY_STATUS_ACCEPTED +} EmpathyDeliveryStatus; + GType empathy_tp_chat_get_type (void) G_GNUC_CONST; EmpathyTpChat *empathy_tp_chat_new (TpAccount *account, TpChannel *channel); |