summaryrefslogtreecommitdiff
path: root/src/plugins/pglist.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-12-05 10:28:15 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-12-05 10:44:28 (GMT)
commit333e68541e376a7b86703fad8e917f71c0f243d0 (patch)
treea658682ed01ba8dbb4d5ad0edab4999dd9e9ff54 /src/plugins/pglist.h
parent1e3fa9b79ebe55698e2aa7d5484baec7e8400a8f (diff)
Extended the plugin API to include some panel events.
Diffstat (limited to 'src/plugins/pglist.h')
-rw-r--r--src/plugins/pglist.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/pglist.h b/src/plugins/pglist.h
index fd8e30a..ccf854f 100644
--- a/src/plugins/pglist.h
+++ b/src/plugins/pglist.h
@@ -118,6 +118,14 @@ GPluginModule **get_all_plugins_for_action(PluginAction, size_t *);
#define include_plugin_theme(d, r, c) \
process_all_plugins_for(PGA_GUI_THEME, g_plugin_module_include_theme, d, r, c)
+/* DPS_RUNNING */
+
+#define notify_panel_creation(i) \
+ process_all_plugins_for(PGA_PANEL_CREATION, g_plugin_module_notify_panel_creation, i)
+
+#define notify_panel_docking(i, d) \
+ process_all_plugins_for(PGA_PANEL_DOCKING, g_plugin_module_notify_panel_docking, i, d)
+
/* DPS_CONTENT */
#define handle_binary_content(a, c, i, s) \