aboutsummaryrefslogtreecommitdiff
path: root/src/component.py
diff options
context:
space:
mode:
authortassaron2017-07-11 06:06:22 -0400
committertassaron2017-07-11 06:06:22 -0400
commit2e37dafd7036973a315b525f131850a6fb6d0b35 (patch)
tree090e5b29c706f38945209e33161b4cc9713782f2 /src/component.py
parent4c3920e6309b4e67e3d8d809dd0b5b6cd245fd0c (diff)
fixed various bugs
Diffstat (limited to 'src/component.py')
-rw-r--r--src/component.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/component.py b/src/component.py
index 7c2f753..eea82d7 100644
--- a/src/component.py
+++ b/src/component.py
@@ -30,10 +30,17 @@ class Component(QtCore.QObject):
def properties(self):
'''
Return a list of properties to signify if your component is
- non-animated ('static') or returns sound ('audio').
+ non-animated ('static'), returns sound ('audio'), or has
+ encountered an error in configuration ('error').
'''
return []
+ def error(self):
+ '''
+ Return a string containing an error message, or None for a default.
+ '''
+ return
+
def cancel(self):
# please stop any lengthy process in response to this variable
self.canceled = True