Struct

PurpleConversationUiOps

Description [src]

struct PurpleConversationUiOps {
  void (* create_conversation) (
    PurpleConversation* conv
  );
  void (* destroy_conversation) (
    PurpleConversation* conv
  );
  void (* write_chat) (
    PurpleChatConversation* chat,
    PurpleMessage* msg
  );
  void (* write_im) (
    PurpleIMConversation* im,
    PurpleMessage* msg
  );
  void (* write_conv) (
    PurpleConversation* conv,
    PurpleMessage* msg
  );
  void (* chat_add_users) (
    PurpleChatConversation* chat,
    GList* cbuddies,
    gboolean new_arrivals
  );
  void (* chat_rename_user) (
    PurpleChatConversation* chat,
    const char* old_name,
    const char* new_name,
    const char* new_alias
  );
  void (* chat_remove_users) (
    PurpleChatConversation* chat,
    GList* users
  );
  void (* chat_update_user) (
    PurpleChatUser* cb
  );
  void (* present) (
    PurpleConversation* conv
  );
  gboolean (* has_focus) (
    PurpleConversation* conv
  );
  void (* send_confirm) (
    PurpleConversation* conv,
    const char* message
  );
  void (* _purple_reserved1) (
void
  );
  void (* _purple_reserved2) (
void
  );
  void (* _purple_reserved3) (
void
  );
  void (* _purple_reserved4) (
void
  );
}

Libpurple needs to tell the user interface when certain things happen in a conversation and it uses this structure to do so.

Any UI representing a conversation must assign a filled-out PurpleConversationUiOps structure to the PurpleConversation.

Structure members
create_conversation No description available.
destroy_conversation No description available.
write_chat No description available.
write_im No description available.
write_conv No description available.
chat_add_users No description available.
chat_rename_user No description available.
chat_remove_users No description available.
chat_update_user No description available.
present No description available.
has_focus No description available.
send_confirm No description available.
_purple_reserved1 No description available.
_purple_reserved2 No description available.
_purple_reserved3 No description available.
_purple_reserved4 No description available.