summaryrefslogtreecommitdiff
path: root/src/plugins/plugin-def.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/plugin-def.h
parent1e3fa9b79ebe55698e2aa7d5484baec7e8400a8f (diff)
Extended the plugin API to include some panel events.
Diffstat (limited to 'src/plugins/plugin-def.h')
-rw-r--r--src/plugins/plugin-def.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/plugins/plugin-def.h b/src/plugins/plugin-def.h
index 5a2dc54..e99d7b1 100644
--- a/src/plugins/plugin-def.h
+++ b/src/plugins/plugin-def.h
@@ -79,6 +79,7 @@ typedef uint32_t plugin_action_t;
/* DPC_GUI */
#define DPS_SETUP DEFINE_PLUGIN_SUB_CATEGORY(0)
+#define DPS_RUNNING DEFINE_PLUGIN_SUB_CATEGORY(1)
/* DPC_BINARY_PROCESSING */
@@ -133,6 +134,16 @@ typedef enum _PluginAction
PGA_GUI_THEME = DPC_GUI | DPS_SETUP | DEFINE_PLUGIN_ACTION(0),
/**
+ * DPC_GUI | DPS_RUNNING
+ */
+
+ /* Accrochage / décrochage de panneaux */
+ PGA_PANEL_CREATION = DPC_GUI | DPS_RUNNING | DEFINE_PLUGIN_ACTION(0),
+
+ /* Accrochage / décrochage de panneaux */
+ PGA_PANEL_DOCKING = DPC_GUI | DPS_RUNNING | DEFINE_PLUGIN_ACTION(1),
+
+ /**
* DPC_BINARY_PROCESSING | DPS_CONTENT
*/