diff options
Diffstat (limited to 'source/WindowsFormsApplication1/Engine/Lua_Interp.cs')
| -rw-r--r-- | source/WindowsFormsApplication1/Engine/Lua_Interp.cs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/source/WindowsFormsApplication1/Engine/Lua_Interp.cs b/source/WindowsFormsApplication1/Engine/Lua_Interp.cs index ab87fa7..c4a9162 100644 --- a/source/WindowsFormsApplication1/Engine/Lua_Interp.cs +++ b/source/WindowsFormsApplication1/Engine/Lua_Interp.cs @@ -249,18 +249,6 @@ namespace ShiftOS return new Color(); } }); - mod.speechrec_create = new Func<SpeechListener>(() => - { - return new SpeechListener(); - }); - mod.speechrec_on_recognize = new Action<SpeechListener, string>((obj, func) => - { - obj.OnRecognize += (object s, EventArgs a) => - { - mod($"{func}('{s.ToString()}')"); - }; - obj.Engine.RecognizeAsync(); - }); mod.get_desktop_session = new Func<Form>(() => { return API.CurrentSession; |
