summaryrefslogtreecommitdiff
path: root/libpurple/protocols.h
diff options
context:
space:
mode:
authorGary Kramlich <grim@reaperworld.com>2021-11-21 23:58:15 -0600
committerGary Kramlich <grim@reaperworld.com>2021-11-21 23:58:15 -0600
commit13cc2ac3fee42ca3ace0720afb7168522eb256b7 (patch)
treed21017d291719d380292a9f9ed4579add84f5249 /libpurple/protocols.h
parent063ca79d712d54a780cc0a792562d022ef57fb0c (diff)
downloadpidgin-13cc2ac3fee42ca3ace0720afb7168522eb256b7.tar.gz
Remove the attention api. It's always been an annoyance and most protocols don't implement it anymore
Testing Done: Compiled and connected and xmpp account. Reviewed at https://reviews.imfreedom.org/r/1121/
Diffstat (limited to 'libpurple/protocols.h')
-rw-r--r--libpurple/protocols.h43
1 files changed, 0 insertions, 43 deletions
diff --git a/libpurple/protocols.h b/libpurple/protocols.h
index dcac6bd067..c9d026f89d 100644
--- a/libpurple/protocols.h
+++ b/libpurple/protocols.h
@@ -228,49 +228,6 @@ GList *purple_protocol_get_statuses(PurpleAccount *account,
PurplePresence *presence);
/**
- * purple_protocol_send_attention:
- * @gc: The connection to send the message on.
- * @who: Whose attention to request.
- * @type_code: An index into the protocol's attention_types list determining the type
- * of the attention request command to send. 0 if protocol only defines one
- * (for example, Yahoo and MSN), but protocols are allowed to define more.
- *
- * Send an attention request message.
- *
- * Note that you can't send arbitrary PurpleAttentionType's, because there is
- * only a fixed set of attention commands.
- */
-void purple_protocol_send_attention(PurpleConnection *gc, const char *who,
- guint type_code);
-
-/**
- * purple_protocol_got_attention:
- * @gc: The connection that received the attention message.
- * @who: Who requested your attention.
- * @type_code: An index into the protocol's attention_types list
- * determining the type of the attention request command to
- * send.
- *
- * Process an incoming attention message.
- */
-void purple_protocol_got_attention(PurpleConnection *gc, const char *who,
- guint type_code);
-
-/**
- * purple_protocol_got_attention_in_chat:
- * @gc: The connection that received the attention message.
- * @id: The chat id.
- * @who: Who requested your attention.
- * @type_code: An index into the protocol's attention_types list
- * determining the type of the attention request command to
- * send.
- *
- * Process an incoming attention message in a chat.
- */
-void purple_protocol_got_attention_in_chat(PurpleConnection *gc, int id,
- const char *who, guint type_code);
-
-/**
* purple_protocol_get_media_caps:
* @account: The account the user is on.
* @who: The name of the contact to check capabilities for.