Fixes to plugin API docs

This commit is contained in:
James Booth
2016-07-30 23:23:20 +01:00
parent 49a213b382
commit 30e96b2d0f
3 changed files with 8 additions and 10 deletions

View File

@@ -46,14 +46,14 @@ Called before a chat message is displayed
@param message the received message
@return the new message to display, or NULL to preserve the original message
*/
char* prof_pre_chat_message_display(const char * const jid, const char *message);
char* prof_pre_chat_message_display(const char * const barejid, const char *message);
/**
Called after a chat message is displayed
@param barejid Jabber ID of the message sender
@param message the received message
*/
void prof_post_chat_message_display(const char * const jid, const char *message);
void prof_post_chat_message_display(const char * const barejid, const char *message);
/**
Called before a chat message is sent
@@ -61,14 +61,14 @@ Called before a chat message is sent
@param message the message to be sent
@return the new message to send, or NULL to preserve the original message
*/
char* prof_pre_chat_message_send(const char * const jid, const char *message);
char* prof_pre_chat_message_send(const char * const barejid, const char *message);
/**
Called after a chat message has been sent
@param barejid Jabber ID of the message recipient
@param message the sent message
*/
void prof_post_chat_message_send(const char * const jid, const char *message);
void prof_post_chat_message_send(const char * const barejid, const char *message);
/**
Called before a chat room message is displayed
@@ -215,4 +215,4 @@ void prof_on_chat_win_focus(const char *const barejid);
Called when a chat room window is focussed
@param room Jabber ID of the room
*/
void prof_on_room_win_focus(const char *const roomjid);
void prof_on_room_win_focus(const char *const room);