readded old TTS interface so that 1.x compiles (#62)

Signed-off-by: Kai Kreuzer <kai@openhab.org>
pull/63/head
Kai Kreuzer 2016-09-13 18:12:47 +02:00 committed by GitHub
parent 42d866c42a
commit 8a7f5561b1
2 changed files with 11 additions and 0 deletions

View File

@ -91,6 +91,7 @@ Export-Package: org.codehaus.jackson,
org.openhab.core.types,
org.openhab.io.console,
org.openhab.io.multimedia.actions,
org.openhab.io.multimedia.tts,
org.openhab.io.net.actions,
org.openhab.io.net.exec,
org.openhab.io.net.http,

View File

@ -0,0 +1,10 @@
package org.openhab.io.multimedia.tts;
// NOTE: This interface is only kept in order to allow openHAB 1.x TTS services to correctly compile.
// openHAB 2 is NOT compatible with these services, not even through the compatibility layer.
// Instead, ESH/openHAB2 compatible TTS services should be used.
public interface TTSService {
void say(String text, String voiceName, String outputDevice);
}