| 1234567891011121314151617181920212223242526272829303132 |
- import logging
- import audio_output
- import console
- SERVICES = [
- audio_output.AudioOutput(),
- console.Console(),
- ]
- def success():
- for service in SERVICES:
- service.success()
- def failure(s=None):
- for service in SERVICES:
- service.failure(s)
- def cancelled():
- for service in SERVICES:
- service.cancelled()
- def tts(s):
- for service in SERVICES:
- service.tts(s)
- def text(s):
- for service in SERVICES:
- service.text(s)
- def debug(s):
- for service in SERVICES:
- service.debug(s)
|