fenrir/src/fenrir-package/commands/onScreenChanged/80000-screen_change_announcement.py

26 lines
732 B
Python
Raw Normal View History

2016-08-07 17:00:54 +02:00
#!/bin/python
# -*- coding: utf-8 -*-
# Fenrir TTY screen reader
# By Chrys, Storm Dragon, and contributers.
from core import debug
2016-08-07 17:00:54 +02:00
class command():
def __init__(self):
pass
def initialize(self, environment):
self.env = environment
def shutdown(self):
pass
def getDescription(self):
return 'No Description found'
2016-09-17 02:14:11 +02:00
def run(self):
self.env['runtime']['outputManager'].presentText("screen " + str(self.env['screenData']['newTTY']),soundIcon='ChangeTTY', interrupt=True)
self.env['runtime']['outputManager'].presentText(self.env['screenData']['newDelta'], interrupt=False)
2016-08-07 17:00:54 +02:00
def setCallback(self, callback):
pass