From f7fa100173f5627016023cc28b2d46bf0878a34f Mon Sep 17 00:00:00 2001 From: chrys Date: Thu, 7 Jul 2016 19:56:46 +0200 Subject: [PATCH] some preparements --- src/fenrir-package/core/environment.py | 4 ++++ src/fenrir-package/fenrir.py | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/src/fenrir-package/core/environment.py b/src/fenrir-package/core/environment.py index 5862f05d..3255b2c2 100644 --- a/src/fenrir-package/core/environment.py +++ b/src/fenrir-package/core/environment.py @@ -23,3 +23,7 @@ runtime = { 'soundDriverString': '', 'soundDriver': None, } + +settings = { + +} diff --git a/src/fenrir-package/fenrir.py b/src/fenrir-package/fenrir.py index 44e9d2dc..be71f72a 100755 --- a/src/fenrir-package/fenrir.py +++ b/src/fenrir-package/fenrir.py @@ -18,6 +18,11 @@ from screen import linux as lx class fenrir(): def __init__(self): self.runtime = environment.runtime + self.settings = environment.settings + self.bindings = {} + self.autospeak = [] + self.soundIcons = {} + self.runtime['speechDriverString'] = 'speechd' self.runtime['speechDriver'] = sd.speech() self.runtime['screenDriverString'] = 'linux' @@ -26,6 +31,8 @@ class fenrir(): def proceed(self): while(self.runtime['running']): self.runtime = self.runtime['screenDriver'].analyzeScreen(self.runtime) + def shutdown(self): + pass app = fenrir() app.proceed()