summaryrefslogtreecommitdiffstats
path: root/backend.py
diff options
context:
space:
mode:
Diffstat (limited to 'backend.py')
-rw-r--r--backend.py24
1 files changed, 16 insertions, 8 deletions
diff --git a/backend.py b/backend.py
index 7339e264e..91044ab07 100644
--- a/backend.py
+++ b/backend.py
@@ -15,14 +15,6 @@
import logging
log = logging.getLogger("anaconda")
-class ProxyBackend:
- def __init__(self, object=None):
- self.object = object
-
- def __getattr__(self, attr):
- if self.object:
- return getattr(self.object, attr)
-
class AnacondaBackend:
def __init__(self, method):
self.method = method
@@ -88,3 +80,19 @@ class AnacondaBackend:
else:
self.modeText = _("Installing %s-%s-%s.%s.\n")
+
+def doPreSelection(backend, intf, id, instPath):
+ backend.doPreSelection(intf, id, instPath)
+
+def doPostSelection(backend, intf, id, instPath):
+ backend.doPostSelection(intf, id, instPath)
+
+def doPreInstall(backend, intf, id, instPath, dir):
+ backend.doPreInstall(intf, id, instPath, dir)
+
+def doPostInstall(backend, intf, id, instPath):
+ backend.doPostInstall(intf, id, instPath)
+
+def doInstall(backend, intf, id, instPath):
+ backend.doInstall(intf, id, instPath)
+