aboutsummaryrefslogtreecommitdiff
path: root/src/java/com/cycling74/max/Executable.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com/cycling74/max/Executable.java')
-rw-r--r--src/java/com/cycling74/max/Executable.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/java/com/cycling74/max/Executable.java b/src/java/com/cycling74/max/Executable.java
new file mode 100644
index 0000000..c658d3f
--- /dev/null
+++ b/src/java/com/cycling74/max/Executable.java
@@ -0,0 +1,14 @@
+package com.cycling74.max;
+
+/**
+ * Defines an executable object. An object that implements a
+ * Executable interface can later be used with a MaxClock or a
+ * MaxSystem.deferLow for example since it defines the
+ * execute method.
+ */
+public interface Executable {
+ /**
+ * The method to execute.
+ */
+ public void execute();
+}