diff options
Diffstat (limited to 'src/plugins/plugins.h')
-rw-r--r-- | src/plugins/plugins.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/plugins.h b/src/plugins/plugins.h index c1f9d4e8..df9293eb 100644 --- a/src/plugins/plugins.h +++ b/src/plugins/plugins.h @@ -90,6 +90,8 @@ typedef struct prof_plugin_t { const char *const status); void (*on_contact_presence)(struct prof_plugin_t* plugin, const char *const barejid, const char *const resource, const char *const presence, const char *const status, const int priority); + + void (*on_chat_win_focus)(struct prof_plugin_t* plugin, const char *const barejid); } ProfPlugin; void plugins_init(void); @@ -135,6 +137,8 @@ void plugins_on_contact_offline(const char *const barejid, const char *const res void plugins_on_contact_presence(const char *const barejid, const char *const resource, const char *const presence, const char *const status, const int priority); +void plugins_on_chat_win_focus(const char *const barejid); + gboolean plugins_run_command(const char * const cmd); void plugins_run_timed(void); GList* plugins_get_command_names(void); |