Debian Codegraph @

src/fenrirscreenreader/commands/speech-history/speech_history_next.py

raw
1 #!/usr/bin/env python3
2 # -*- coding: utf-8 -*-
3
4 # Fenrir TTY screen reader
5 # By Chrys, Storm Dragon, and contributors.
6
7 from fenrirscreenreader.core.i18n import _
8
9
10 class command:
11 def __init__(self):
12 pass
13
14 def initialize(self, environment):
15 self.env = environment
16
17 def shutdown(self):
18 pass
19
20 def get_description(self):
21 return _("selects the next speech history item")
22
23 def run(self):
24 self.env["runtime"]["SpeechHistoryManager"].next_entry()
25
26 def set_callback(self, callback):
27 pass