add remote manager
This commit is contained in:
parent
8cf251753f
commit
d142fa952c
15
src/fenrirscreenreader/core/remoteManager.py
Normal file
15
src/fenrirscreenreader/core/remoteManager.py
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/python
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
# Fenrir TTY screen reader
|
||||||
|
# By Chrys, Storm Dragon, and contributers.
|
||||||
|
|
||||||
|
from fenrirscreenreader.core import debug
|
||||||
|
|
||||||
|
class remoteManager():
|
||||||
|
def __init__(self):
|
||||||
|
pass
|
||||||
|
def initialize(self, environment):
|
||||||
|
self.env = environment
|
||||||
|
def shutdown(self):
|
||||||
|
pass
|
@ -26,6 +26,7 @@ from fenrirscreenreader.core import tableManager
|
|||||||
from fenrirscreenreader.core import byteManager
|
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 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
|
||||||
@ -299,6 +300,10 @@ class settingsManager():
|
|||||||
environment['runtime']['helpManager'] = helpManager.helpManager()
|
environment['runtime']['helpManager'] = helpManager.helpManager()
|
||||||
environment['runtime']['helpManager'].initialize(environment)
|
environment['runtime']['helpManager'].initialize(environment)
|
||||||
|
|
||||||
|
environment['runtime']['remoteManager'] = remoteManager.remoteManager()
|
||||||
|
environment['runtime']['remoteManager'].initialize(environment)
|
||||||
|
|
||||||
|
|
||||||
if environment['runtime']['inputManager'].getShortcutType() == 'KEY':
|
if environment['runtime']['inputManager'].getShortcutType() == 'KEY':
|
||||||
if not os.path.exists(self.getSetting('keyboard','keyboardLayout')):
|
if not os.path.exists(self.getSetting('keyboard','keyboardLayout')):
|
||||||
if os.path.exists(settingsRoot + 'keyboard/' + self.getSetting('keyboard','keyboardLayout')):
|
if os.path.exists(settingsRoot + 'keyboard/' + self.getSetting('keyboard','keyboardLayout')):
|
||||||
|
Loading…
Reference in New Issue
Block a user