libpurple/conversation.h

changeset 40304
a3d49ff045a8
parent 40287
e4726975e049
child 40474
1341be8e3402
equal deleted inserted replaced
40303:0a01f2c891c2 40304:a3d49ff045a8
63 * @PURPLE_CONVERSATION_UPDATE_TYPING: The typing state was updated. 63 * @PURPLE_CONVERSATION_UPDATE_TYPING: The typing state was updated.
64 * @PURPLE_CONVERSATION_UPDATE_UNSEEN: The unseen state was updated. 64 * @PURPLE_CONVERSATION_UPDATE_UNSEEN: The unseen state was updated.
65 * @PURPLE_CONVERSATION_UPDATE_LOGGING: Logging for this conversation was 65 * @PURPLE_CONVERSATION_UPDATE_LOGGING: Logging for this conversation was
66 * enabled or disabled. 66 * enabled or disabled.
67 * @PURPLE_CONVERSATION_UPDATE_TOPIC: The topic for a chat was updated. 67 * @PURPLE_CONVERSATION_UPDATE_TOPIC: The topic for a chat was updated.
68 * @PURPLE_CONVERSATION_UPDATE_E2EE: The End-to-end encryption state was
69 * updated.
70 * @PURPLE_CONVERSATION_ACCOUNT_ONLINE: One of the user's accounts went online. 68 * @PURPLE_CONVERSATION_ACCOUNT_ONLINE: One of the user's accounts went online.
71 * @PURPLE_CONVERSATION_ACCOUNT_OFFLINE: One of the user's accounts went 69 * @PURPLE_CONVERSATION_ACCOUNT_OFFLINE: One of the user's accounts went
72 * offline. 70 * offline.
73 * @PURPLE_CONVERSATION_UPDATE_AWAY: The other user went away. 71 * @PURPLE_CONVERSATION_UPDATE_AWAY: The other user went away.
74 * @PURPLE_CONVERSATION_UPDATE_ICON: The other user's buddy icon changed. 72 * @PURPLE_CONVERSATION_UPDATE_ICON: The other user's buddy icon changed.
86 PURPLE_CONVERSATION_UPDATE_ACCOUNT, 84 PURPLE_CONVERSATION_UPDATE_ACCOUNT,
87 PURPLE_CONVERSATION_UPDATE_TYPING, 85 PURPLE_CONVERSATION_UPDATE_TYPING,
88 PURPLE_CONVERSATION_UPDATE_UNSEEN, 86 PURPLE_CONVERSATION_UPDATE_UNSEEN,
89 PURPLE_CONVERSATION_UPDATE_LOGGING, 87 PURPLE_CONVERSATION_UPDATE_LOGGING,
90 PURPLE_CONVERSATION_UPDATE_TOPIC, 88 PURPLE_CONVERSATION_UPDATE_TOPIC,
91 PURPLE_CONVERSATION_UPDATE_E2EE,
92 89
93 /* 90 /*
94 * XXX These need to go when we implement a more generic core/UI event 91 * XXX These need to go when we implement a more generic core/UI event
95 * system. 92 * system.
96 */ 93 */
199 void (*_purple_reserved4)(void); 196 void (*_purple_reserved4)(void);
200 }; 197 };
201 198
202 #include "account.h" 199 #include "account.h"
203 #include "buddyicon.h" 200 #include "buddyicon.h"
204 #include "e2ee.h"
205 #include "log.h" 201 #include "log.h"
206 #include "smiley-list.h" 202 #include "smiley-list.h"
207 203
208 /**************************************************************************/ 204 /**************************************************************************/
209 /* PurpleConversationUiOps */ 205 /* PurpleConversationUiOps */
421 * PurpleBuddy, then it's the name of the PurpleBuddy. 417 * PurpleBuddy, then it's the name of the PurpleBuddy.
422 */ 418 */
423 const char *purple_conversation_get_name(PurpleConversation *conv); 419 const char *purple_conversation_get_name(PurpleConversation *conv);
424 420
425 /** 421 /**
426 * purple_conversation_set_e2ee_state:
427 * @conv: The conversation.
428 * @state: The E2EE state.
429 *
430 * Sets current E2EE state for the conversation.
431 */
432 void
433 purple_conversation_set_e2ee_state(PurpleConversation *conv,
434 PurpleE2eeState *state);
435
436 /**
437 * purple_conversation_get_e2ee_state:
438 * @conv: The conversation.
439 *
440 * Gets current conversation's E2EE state.
441 *
442 * Returns: (transfer none): Current E2EE state for conversation.
443 */
444 PurpleE2eeState *
445 purple_conversation_get_e2ee_state(PurpleConversation *conv);
446
447 /**
448 * purple_conversation_set_logging: 422 * purple_conversation_set_logging:
449 * @conv: The conversation. 423 * @conv: The conversation.
450 * @log: %TRUE if logging should be enabled, or %FALSE otherwise. 424 * @log: %TRUE if logging should be enabled, or %FALSE otherwise.
451 * 425 *
452 * Enables or disables logging for this conversation. 426 * Enables or disables logging for this conversation.

mercurial