| 1 |
#!/usr/bin/env python3 |
| 2 |
# -*- coding: utf-8 -*- |
| 3 |
|
| 4 |
# Fenrir TTY screen reader |
| 5 |
# By Chrys, Storm Dragon, and contributors. |
| 6 |
|
| 7 |
|
| 8 |
from fenrirscreenreader.core.i18n import _ |
| 9 |
|
| 10 |
|
| 11 |
class command: |
| 12 |
def __init__(self): |
| 13 |
pass |
| 14 |
|
| 15 |
def initialize(self, environment): |
| 16 |
self.env = environment |
| 17 |
|
| 18 |
def shutdown(self): |
| 19 |
pass |
| 20 |
|
| 21 |
def get_description(self): |
| 22 |
return "No description found" |
| 23 |
|
| 24 |
def load(self): |
| 25 |
return |
| 26 |
print("--------------") |
| 27 |
print("default") |
| 28 |
print("load new", self.env["screen"]["new_application"]) |
| 29 |
print("--------------") |
| 30 |
|
| 31 |
def unload(self): |
| 32 |
return |
| 33 |
print("--------------") |
| 34 |
print("default") |
| 35 |
print("unload old", self.env["screen"]["oldApplication"]) |
| 36 |
print("--------------") |
| 37 |
|
| 38 |
def set_callback(self, callback): |
| 39 |
pass |