Esempio n. 1
0
        static public void init()
        {
            //#if DEBUG
            //#else
            //                        speech = new SpeechEngine(Main_Window);
            //#endif
#if !DEBUG
            try
            {
#endif
            //SpeechFamiliar.Plugins.PluginHost.Load(Global.configuration.plugins_path);
            load_plugins();
            speech.LoadInitialGrammars();
            //SpeechFamiliar.Scripting.Automation.controller = new SpeechFamiliar.UI.Controller();
            Global.Main_Window.Start();

#if !DEBUG
        }

        catch (Exception ex)
        {
            SilentOrb.Utility.Feedback.print(ex);
            return;
        }
#endif
            thread_busy = false;
            Feedback.print("\r\nFinished loading.\r\n", Feedback.Status.story);
        }