aboutsummaryrefslogtreecommitdiff
path: root/lib/plugins/core/RunningProcessPlugin.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/plugins/core/RunningProcessPlugin.php')
-rw-r--r--lib/plugins/core/RunningProcessPlugin.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/plugins/core/RunningProcessPlugin.php b/lib/plugins/core/RunningProcessPlugin.php
new file mode 100644
index 0000000..e64e75c
--- /dev/null
+++ b/lib/plugins/core/RunningProcessPlugin.php
@@ -0,0 +1,11 @@
+<?php
+
+interface RunningProcessPlugin
+{
+ /**
+ * Returns an array of RunningProcess objects, that should be displayed in the running processes widget..
+ *
+ * @return array : [RunningProcess, RunningProcess, ...]
+ */
+ public function getRunningProcesses() : array;
+}