diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-12-05 10:28:15 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-12-05 10:44:28 (GMT) |
commit | 333e68541e376a7b86703fad8e917f71c0f243d0 (patch) | |
tree | a658682ed01ba8dbb4d5ad0edab4999dd9e9ff54 /src/plugins/plugin.h | |
parent | 1e3fa9b79ebe55698e2aa7d5484baec7e8400a8f (diff) |
Extended the plugin API to include some panel events.
Diffstat (limited to 'src/plugins/plugin.h')
-rw-r--r-- | src/plugins/plugin.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/plugin.h b/src/plugins/plugin.h index f65d0eb..3e8d9c1 100644 --- a/src/plugins/plugin.h +++ b/src/plugins/plugin.h @@ -36,6 +36,7 @@ #include "../format/known.h" #include "../format/preload.h" #include "../gtkext/gtkstatusstack.h" +#include "../gui/panel.h" @@ -114,6 +115,12 @@ gpointer g_plugin_module_build_type_instance(GPluginModule *, PluginAction, GTyp /* Complète une liste de resources pour thème. */ void g_plugin_module_include_theme(const GPluginModule *, PluginAction, gboolean, char ***, size_t *); +/* Rend compte de la création d'un panneau. */ +void g_plugin_module_notify_panel_creation(const GPluginModule *, PluginAction, GPanelItem *); + +/* Rend compte d'un affichage ou d'un retrait de panneau. */ +void g_plugin_module_notify_panel_docking(const GPluginModule *, PluginAction, GPanelItem *, bool); + /* Procède à une opération liée à un contenu binaire. */ void g_plugin_module_handle_binary_content(const GPluginModule *, PluginAction, GBinContent *, wgroup_id_t, GtkStatusStack *); |