| 93 void (*set_avatar_async)(PurpleProtocolConversation *protocol, PurpleConversation *conversation, PurpleAvatar *avatar, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer data); |
93 void (*set_avatar_async)(PurpleProtocolConversation *protocol, PurpleConversation *conversation, PurpleAvatar *avatar, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer data); |
| 94 gboolean (*set_avatar_finish)(PurpleProtocolConversation *protocol, GAsyncResult *result, GError **error); |
94 gboolean (*set_avatar_finish)(PurpleProtocolConversation *protocol, GAsyncResult *result, GError **error); |
| 95 |
95 |
| 96 void (*send_typing)(PurpleProtocolConversation *protocol, PurpleConversation *conversation, PurpleTypingState state); |
96 void (*send_typing)(PurpleProtocolConversation *protocol, PurpleConversation *conversation, PurpleTypingState state); |
| 97 |
97 |
| |
98 void (*refresh)(PurpleProtocolConversation *protocol, PurpleConversation *conversation); |
| |
99 |
| 98 /*< private >*/ |
100 /*< private >*/ |
| 99 gpointer reserved[8]; |
101 gpointer reserved[8]; |
| 100 }; |
102 }; |
| 101 |
103 |
| 102 /** |
104 /** |
| 444 * Since: 3.0 |
446 * Since: 3.0 |
| 445 */ |
447 */ |
| 446 PURPLE_AVAILABLE_IN_3_0 |
448 PURPLE_AVAILABLE_IN_3_0 |
| 447 void purple_protocol_conversation_send_typing(PurpleProtocolConversation *protocol, PurpleConversation *conversation, PurpleTypingState state); |
449 void purple_protocol_conversation_send_typing(PurpleProtocolConversation *protocol, PurpleConversation *conversation, PurpleTypingState state); |
| 448 |
450 |
| |
451 /** |
| |
452 * purple_protocol_conversation_implements_refresh: |
| |
453 * |
| |
454 * Checks if @protocol implements [vfunc@ProtocolConversation.refresh]. |
| |
455 * |
| |
456 * Returns: true if everything is implemented; false otherwise. |
| |
457 * |
| |
458 * Since: 3.0 |
| |
459 */ |
| |
460 PURPLE_AVAILABLE_IN_3_0 |
| |
461 gboolean purple_protocol_conversation_implements_refresh(PurpleProtocolConversation *protocol); |
| |
462 |
| |
463 /** |
| |
464 * purple_protocol_conversation_refresh: |
| |
465 * @conversation: the conversation |
| |
466 * |
| |
467 * Asks the protocol to refresh a conversation. |
| |
468 * |
| |
469 * A conversation could need to be refreshed for any number of reasons, but the |
| |
470 * primary case is to help restore conversations when user interfaces restart. |
| |
471 * |
| |
472 * This allows the user interface to recreate a conversation and then have the |
| |
473 * protocol do whatever is necessary to bring the conversation back up to date |
| |
474 * and online. |
| |
475 * |
| |
476 * Since: 3.0 |
| |
477 */ |
| |
478 PURPLE_AVAILABLE_IN_3_0 |
| |
479 void purple_protocol_conversation_refresh(PurpleProtocolConversation *protocol, PurpleConversation *conversation); |
| |
480 |
| 449 G_END_DECLS |
481 G_END_DECLS |
| 450 |
482 |
| 451 #endif /* PURPLE_PROTOCOL_CONVERSATION_H */ |
483 #endif /* PURPLE_PROTOCOL_CONVERSATION_H */ |