summaryrefslogtreecommitdiff
path: root/portato/backend/system_interface.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--portato/backend/system_interface.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/portato/backend/system_interface.py b/portato/backend/system_interface.py
index 4b0f8df..16f0a9c 100644
--- a/portato/backend/system_interface.py
+++ b/portato/backend/system_interface.py
@@ -12,6 +12,21 @@
class SystemInterface (object):
+ def has_set_support (self):
+ """Signals, whether this backend supports sets.
+
+ @rtype: boolean
+ """
+ raise NotImplementedError
+
+ def get_sets (self):
+ """Returns all supported sets in tuples consisting of name and description.
+ If sets aren't supported, at least "world" and "system" have to be returned.
+
+ @rtype: (string, string)[]
+ """
+ raise NotImplementedError
+
def get_version (self):
"""Returns the version of the used backend.