summaryrefslogtreecommitdiff
path: root/toxcore/tox.api.h
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-02-26 21:20:16 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-02-27 04:30:37 +0000
commit1282ef5741c900dad5c3e9921d0b211030e8af19 (patch)
tree74883d9c56be55541b31f72c1771092ca7646cc5 /toxcore/tox.api.h
parent1334d16517ccaa0971301fc819b72618e060c899 (diff)
Remove deprecated conference namelist change callback.
Diffstat (limited to 'toxcore/tox.api.h')
-rw-r--r--toxcore/tox.api.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/toxcore/tox.api.h b/toxcore/tox.api.h
index fc5d5593..59af69b9 100644
--- a/toxcore/tox.api.h
+++ b/toxcore/tox.api.h
@@ -2158,38 +2158,6 @@ namespace conference {
2158 2158
2159 } 2159 }
2160 2160
2161 /**
2162 * Peer list state change types.
2163 */
2164 enum class STATE_CHANGE {
2165 /**
2166 * A peer has joined the conference.
2167 */
2168 PEER_JOIN,
2169 /**
2170 * A peer has exited the conference.
2171 */
2172 PEER_EXIT,
2173 /**
2174 * A peer has changed their name.
2175 */
2176 PEER_NAME_CHANGE,
2177 }
2178
2179 /**
2180 * This event is triggered when the peer list changes (name change, peer join, peer exit).
2181 *
2182 * @deprecated Use the `${event peer.name}` and `${event peer.list_changed}` events, instead.
2183 */
2184 event namelist_change const {
2185 /**
2186 * @param conference_number The conference number of the conference the title change is intended for.
2187 * @param peer_number The ID of the peer who changed the title.
2188 * @param change The type of change (one of $STATE_CHANGE).
2189 */
2190 typedef void(uint32_t conference_number, uint32_t peer_number, STATE_CHANGE change);
2191 }
2192
2193 2161
2194 /** 2162 /**
2195 * Creates a new conference. 2163 * Creates a new conference.