summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/backend.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/bitmask/backend.py')
-rw-r--r--src/leap/bitmask/backend.py33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/leap/bitmask/backend.py b/src/leap/bitmask/backend.py
index 327131b3..fd09929a 100644
--- a/src/leap/bitmask/backend.py
+++ b/src/leap/bitmask/backend.py
@@ -46,6 +46,8 @@ from leap.bitmask.services.eip.eipbootstrapper import EIPBootstrapper
from leap.bitmask.services.eip import vpnlauncher, vpnprocess
from leap.bitmask.services.eip import linuxvpnlauncher, darwinvpnlauncher
+from leap.bitmask.services.mail import imap
+
from leap.bitmask.services.soledad.soledadbootstrapper import \
SoledadBootstrapper
@@ -632,6 +634,37 @@ class Soledad(object):
soledad.close()
+class Mail(object):
+ """
+ Interfaces with setup and launch of Mail.
+ """
+
+ zope.interface.implements(ILEAPComponent)
+
+ def __init__(self, signaler=None):
+ """
+ Constructor for the Mail component.
+
+ :param signaler: Object in charge of handling communication
+ back to the frontend
+ :type signaler: Signaler
+ """
+ self.key = "mail"
+ self._signaler = signaler
+
+ def start_smtp_service(self):
+ pass
+
+ def start_imap_service(self, offline=False):
+ pass
+
+ def stop_smtp_service(self):
+ pass
+
+ def stop_imap_service(self):
+ pass
+
+
class Authenticate(object):
"""
Interfaces with setup and bootstrapping operations for a provider