add say All manager

This commit is contained in:
chrys 2018-09-18 00:04:03 +02:00
parent 4d0f6aef3f
commit 35a9171c1f
2 changed files with 33 additions and 1 deletions

View File

@ -0,0 +1,30 @@
#!/bin/python
# -*- coding: utf-8 -*-
# Fenrir TTY screen reader
# By Chrys, Storm Dragon, and contributers.
from fenrirscreenreader.core import debug
class sayAllManager():
def __init__(self):
self.isActive = False
self.isActiveLock = None
def initialize(self, environment):
self.env = environment
def shutdown(self):
pass
def setIsActive(self, isActive):
pass
def start(self):
pass
def isSayAllActive(self):
pass
def sayAllWorker(self):
pass
def stop(self):
pass
def finish(self):
pass
def gotoNextPage(self):
pass

View File

@ -28,6 +28,7 @@ from fenrirscreenreader.core import byteManager
from fenrirscreenreader.core import attributeManager from fenrirscreenreader.core import attributeManager
from fenrirscreenreader.core import barrierManager from fenrirscreenreader.core import barrierManager
from fenrirscreenreader.core import remoteManager from fenrirscreenreader.core import remoteManager
from fenrirscreenreader.core import sayAllManager
from fenrirscreenreader.core import environment from fenrirscreenreader.core import environment
from fenrirscreenreader.core.settingsData import settingsData from fenrirscreenreader.core.settingsData import settingsData
from fenrirscreenreader.core import debug from fenrirscreenreader.core import debug
@ -380,7 +381,8 @@ class settingsManager():
environment['runtime']['tableManager'].initialize(environment) environment['runtime']['tableManager'].initialize(environment)
environment['runtime']['barrierManager'] = barrierManager.barrierManager() environment['runtime']['barrierManager'] = barrierManager.barrierManager()
environment['runtime']['barrierManager'].initialize(environment) environment['runtime']['barrierManager'].initialize(environment)
environment['runtime']['sayAllManager'] = sayAllManager.sayAllManager()
environment['runtime']['sayAllManager'].initialize(environment)
environment['runtime']['debug'].writeDebugOut('\/-------environment-------\/',debug.debugLevel.INFO, onAnyLevel=True) environment['runtime']['debug'].writeDebugOut('\/-------environment-------\/',debug.debugLevel.INFO, onAnyLevel=True)
environment['runtime']['debug'].writeDebugOut(str(environment), debug.debugLevel.INFO, onAnyLevel=True) environment['runtime']['debug'].writeDebugOut(str(environment), debug.debugLevel.INFO, onAnyLevel=True)
environment['runtime']['debug'].writeDebugOut('\/-------settings.conf-------\/', debug.debugLevel.INFO, onAnyLevel=True) environment['runtime']['debug'].writeDebugOut('\/-------settings.conf-------\/', debug.debugLevel.INFO, onAnyLevel=True)