Mercurial > ~mikael > mcabber > hg
comparison mcabber/mcabber/roster.h @ 1691:b2e0083891cc
Replace JEP with XEP
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sat, 06 Feb 2010 18:16:06 +0100 |
parents | 41c26b7d2890 |
children | 434b2a32d2a0 |
comparison
equal
deleted
inserted
replaced
1690:46f1cf3b6373 | 1691:b2e0083891cc |
---|---|
96 #define ROSTER_FLAG_HIDE (1U<<1) // Group hidden (or buddy window closed) | 96 #define ROSTER_FLAG_HIDE (1U<<1) // Group hidden (or buddy window closed) |
97 #define ROSTER_FLAG_LOCK (1U<<2) // Node should not be removed from buddylist | 97 #define ROSTER_FLAG_LOCK (1U<<2) // Node should not be removed from buddylist |
98 #define ROSTER_FLAG_USRLOCK (1U<<3) // Node should not be removed from buddylist | 98 #define ROSTER_FLAG_USRLOCK (1U<<3) // Node should not be removed from buddylist |
99 // ROSTER_FLAG_LOCAL (1U<<4) // Buddy not on server's roster (??) | 99 // ROSTER_FLAG_LOCAL (1U<<4) // Buddy not on server's roster (??) |
100 | 100 |
101 #define JEP0022 | 101 #define XEP0022 |
102 #define JEP0085 | 102 #define XEP0085 |
103 | 103 |
104 struct jep0022 { | 104 struct jep0022 { |
105 guint support; | 105 guint support; |
106 guint last_state_sent; | 106 guint last_state_sent; |
107 gchar *last_msgid_sent; | 107 gchar *last_msgid_sent; |
128 #endif | 128 #endif |
129 }; | 129 }; |
130 | 130 |
131 /* Message event and chat state flags */ | 131 /* Message event and chat state flags */ |
132 #define ROSTER_EVENT_NONE 0U | 132 #define ROSTER_EVENT_NONE 0U |
133 /* JEP-22 Message Events */ | 133 /* XEP-22 Message Events */ |
134 #define ROSTER_EVENT_OFFLINE (1U<<0) | 134 #define ROSTER_EVENT_OFFLINE (1U<<0) |
135 #define ROSTER_EVENT_DELIVERED (1U<<1) | 135 #define ROSTER_EVENT_DELIVERED (1U<<1) |
136 #define ROSTER_EVENT_DISPLAYED (1U<<2) | 136 #define ROSTER_EVENT_DISPLAYED (1U<<2) |
137 /* JEP-22 & JEP-85 */ | 137 /* XEP-22 & XEP-85 */ |
138 #define ROSTER_EVENT_COMPOSING (1U<<3) | 138 #define ROSTER_EVENT_COMPOSING (1U<<3) |
139 /* JEP-85 Chat State Notifications */ | 139 /* XEP-85 Chat State Notifications */ |
140 #define ROSTER_EVENT_ACTIVE (1U<<4) | 140 #define ROSTER_EVENT_ACTIVE (1U<<4) |
141 #define ROSTER_EVENT_PAUSED (1U<<5) | 141 #define ROSTER_EVENT_PAUSED (1U<<5) |
142 #define ROSTER_EVENT_INACTIVE (1U<<6) | 142 #define ROSTER_EVENT_INACTIVE (1U<<6) |
143 #define ROSTER_EVENT_GONE (1U<<7) | 143 #define ROSTER_EVENT_GONE (1U<<7) |
144 | 144 |