some preparements
This commit is contained in:
parent
a0c936d1e9
commit
f7fa100173
@ -23,3 +23,7 @@ runtime = {
|
|||||||
'soundDriverString': '',
|
'soundDriverString': '',
|
||||||
'soundDriver': None,
|
'soundDriver': None,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
|
||||||
|
}
|
||||||
|
@ -18,6 +18,11 @@ from screen import linux as lx
|
|||||||
class fenrir():
|
class fenrir():
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.runtime = environment.runtime
|
self.runtime = environment.runtime
|
||||||
|
self.settings = environment.settings
|
||||||
|
self.bindings = {}
|
||||||
|
self.autospeak = []
|
||||||
|
self.soundIcons = {}
|
||||||
|
|
||||||
self.runtime['speechDriverString'] = 'speechd'
|
self.runtime['speechDriverString'] = 'speechd'
|
||||||
self.runtime['speechDriver'] = sd.speech()
|
self.runtime['speechDriver'] = sd.speech()
|
||||||
self.runtime['screenDriverString'] = 'linux'
|
self.runtime['screenDriverString'] = 'linux'
|
||||||
@ -26,6 +31,8 @@ class fenrir():
|
|||||||
def proceed(self):
|
def proceed(self):
|
||||||
while(self.runtime['running']):
|
while(self.runtime['running']):
|
||||||
self.runtime = self.runtime['screenDriver'].analyzeScreen(self.runtime)
|
self.runtime = self.runtime['screenDriver'].analyzeScreen(self.runtime)
|
||||||
|
def shutdown(self):
|
||||||
|
pass
|
||||||
|
|
||||||
app = fenrir()
|
app = fenrir()
|
||||||
app.proceed()
|
app.proceed()
|
||||||
|
Loading…
Reference in New Issue
Block a user