mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Add python plugin hook docs
This commit is contained in:
parent
1bc6941847
commit
a308f5e4f1
2
.gitignore
vendored
2
.gitignore
vendored
@ -68,6 +68,8 @@ apidocs/python/_build/
|
||||
apidocs/python/modules.rst
|
||||
apidocs/python/prof.rst
|
||||
apidocs/python/src/prof.pyc
|
||||
apidocs/python/plugin.rst
|
||||
apidocs/python/src/plugin.pyc
|
||||
apidocs/c/html/
|
||||
|
||||
# Temp Vim files
|
||||
|
119
apidocs/python/src/plugin.py
Normal file
119
apidocs/python/src/plugin.py
Normal file
@ -0,0 +1,119 @@
|
||||
"""
|
||||
Profanity plugin Hooks
|
||||
"""
|
||||
|
||||
def prof_init(version, status, account_name, fulljid):
|
||||
pass
|
||||
|
||||
|
||||
def prof_on_start():
|
||||
pass
|
||||
|
||||
|
||||
def prof_on_shutdown():
|
||||
pass
|
||||
|
||||
|
||||
def prof_on_unload():
|
||||
pass
|
||||
|
||||
|
||||
def prof_on_connect(account_name, fulljid):
|
||||
pass
|
||||
|
||||
|
||||
def prof_on_disconnect(account_name, fulljid):
|
||||
pass
|
||||
|
||||
|
||||
def prof_pre_chat_message_display(jid, message):
|
||||
pass
|
||||
|
||||
|
||||
def prof_post_chat_message_display(jid, message):
|
||||
pass
|
||||
|
||||
|
||||
def prof_pre_chat_message_send(jid, message):
|
||||
pass
|
||||
|
||||
|
||||
def prof_post_chat_message_send(jid, message):
|
||||
pass
|
||||
|
||||
|
||||
def prof_pre_room_message_display(room, nick, message):
|
||||
pass
|
||||
|
||||
|
||||
def prof_post_room_message_display(room, nick, message):
|
||||
pass
|
||||
|
||||
|
||||
def prof_pre_room_message_send(room, message):
|
||||
pass
|
||||
|
||||
|
||||
def prof_post_room_message_send(room, message):
|
||||
pass
|
||||
|
||||
|
||||
def prof_on_room_history_message(room, nick, message, timestamp):
|
||||
pass
|
||||
|
||||
|
||||
def prof_pre_priv_message_display(room, nick, message):
|
||||
pass
|
||||
|
||||
|
||||
def prof_post_priv_message_display(room, nick, message):
|
||||
pass
|
||||
|
||||
|
||||
def prof_pre_priv_message_send(room, nick, message):
|
||||
pass
|
||||
|
||||
|
||||
def prof_post_priv_message_send(room, nick, message):
|
||||
pass
|
||||
|
||||
|
||||
def prof_on_message_stanza_send(stanza):
|
||||
pass
|
||||
|
||||
|
||||
def prof_on_message_stanza_receive(stanza):
|
||||
pass
|
||||
|
||||
|
||||
def prof_on_presence_stanza_send(stanza):
|
||||
pass
|
||||
|
||||
|
||||
def prof_on_presence_stanza_receive(stanza):
|
||||
pass
|
||||
|
||||
|
||||
def prof_on_iq_stanza_send(stanza):
|
||||
pass
|
||||
|
||||
|
||||
def prof_on_iq_stanza_receive(stanza):
|
||||
pass
|
||||
|
||||
|
||||
def prof_on_contact_offline(barejid, resource, status):
|
||||
pass
|
||||
|
||||
|
||||
def prof_on_contact_presence(barejid, resource, presence, status, priority):
|
||||
pass
|
||||
|
||||
|
||||
def prof_on_chat_win_focus(barejid):
|
||||
pass
|
||||
|
||||
|
||||
def prof_on_room_win_focus(roomjid):
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user