changed audio action to implement ESH interface (#58)
Signed-off-by: Kai Kreuzer <kai@openhab.org>pull/59/head
parent
6dfda5c90e
commit
a819b25ff5
|
@ -11,8 +11,8 @@
|
||||||
-->
|
-->
|
||||||
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" immediate="true" name="org.openhab.action.audio">
|
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" immediate="true" name="org.openhab.action.audio">
|
||||||
<implementation class="org.openhab.io.multimedia.actions.AudioActionService"/>
|
<implementation class="org.openhab.io.multimedia.actions.AudioActionService"/>
|
||||||
<service>
|
|
||||||
<provide interface="org.openhab.core.scriptengine.action.ActionService"/>
|
|
||||||
</service>
|
|
||||||
<reference bind="setVoiceManager" cardinality="1..1" interface="org.eclipse.smarthome.core.voice.VoiceManager" name="VoiceManager" policy="static" unbind="unsetVoiceManager"/>
|
<reference bind="setVoiceManager" cardinality="1..1" interface="org.eclipse.smarthome.core.voice.VoiceManager" name="VoiceManager" policy="static" unbind="unsetVoiceManager"/>
|
||||||
|
<service>
|
||||||
|
<provide interface="org.eclipse.smarthome.model.script.engine.action.ActionService"/>
|
||||||
|
</service>
|
||||||
</scr:component>
|
</scr:component>
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
package org.openhab.io.multimedia.actions;
|
package org.openhab.io.multimedia.actions;
|
||||||
|
|
||||||
import org.eclipse.smarthome.core.voice.VoiceManager;
|
import org.eclipse.smarthome.core.voice.VoiceManager;
|
||||||
import org.openhab.core.scriptengine.action.ActionService;
|
import org.eclipse.smarthome.model.script.engine.action.ActionService;
|
||||||
|
|
||||||
public class AudioActionService implements ActionService {
|
public class AudioActionService implements ActionService {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue