public SlideShowController(Application application, SpeechEngine speech, GestureEngine gesture, CueStore store) { pptApp = application; pptApp.SlideShowBegin += OnSlideShowBegin; pptApp.SlideShowEnd += OnSlideShowEnd; pptApp.SlideShowNextSlide += OnSlideShowNextSlide; detectors = new List<ISlideShowCommandDetector>(); detectors.Add(new SpeechCommandDetector(this, speech, store)); detectors.Add(new GestureCommandDetector(this, gesture)); slideShowView = null; slideId = 0; step = 0; }
public SpeechCommandDetector(SlideShowController controller, SpeechEngine engine, CueStore store) { slideShowController = controller; speechEngine = engine; cueStore = store; }